Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement workspace/workspaceFolders request #43

Open
2 tasks
Tracked by #26
retailcoder opened this issue Mar 12, 2023 · 0 comments
Open
2 tasks
Tracked by #26

Implement workspace/workspaceFolders request #43

retailcoder opened this issue Mar 12, 2023 · 0 comments
Assignees
Labels
component: Rubberduck.Client Issue involves RPC client/platform

Comments

@retailcoder
Copy link
Member

Specification (LSP)

The workspace/workspaceFolders request is sent from the server to the client to fetch the current open list of workspace folders. Returns null in the response if only a single file is open in the tool. Returns an empty array if a workspace is open but no folders are configured.

Where WorkspaceFolder is defined as follows:

export interface WorkspaceFolder {
	/**
	 * The associated URI for this workspace folder.
	 */
	uri: DocumentUri;

	/**
	 * The name of the workspace folder. Used to refer to this
	 * workspace folder in the user interface.
	 */
	name: string;
}

Scope:

  • Rubberduck.Core add-in client must define a service that holds client-side workspace state.
  • Rubberduck.Client library must define a client-side handler for this request, that returns the folders in the current workspace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Rubberduck.Client Issue involves RPC client/platform
Projects
None yet
Development

No branches or pull requests

2 participants