Skip to content

Workspace folders not initialized properly #48

Closed
@rchl

Description

@rchl

The initialize request can include a list of workspace folders:

	/**
	 * The workspace folders configured in the client when the server starts.
	 * This property is only available if the client supports workspace folders.
	 * It can be `null` if the client supports workspace folders but none are
	 * configured.
	 *
	 * @since 3.6.0
	 */
	workspaceFolders?: WorkspaceFolder[] | null;

pylsp ignores those during initialize and expects the client to send the workspace/didChangeWorkspaceFolders notification to initialize the workspace folders. Expecting that notification is a bug since it only needs to be called when folders change, relative to the ones reported in initialize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions