Skip to content

Deprecated rootUri is used for lsp-multi-server-sample #516

@razzeee

Description

@razzeee

The example server is still using params.rootUri https://github.com/microsoft/vscode-extension-samples/blob/master/lsp-multi-server-sample/server/src/server.ts#L25

Which makes sense in the usecase, but as it says, that it's deprecated and we should use params.workspaceFolders which does not help us to figure out which workspace folder this server was started for.

So is starting a server for every workspace folder still what's recommended? https://github.com/microsoft/vscode-extension-samples/blob/master/lsp-multi-server-sample/README.md#L5

Or should we handle this different nowadays?

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions