microsoft / microsoft/vscode-extension-samples

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

Open
#516 2 comments 6 reactions 2 assignees View on GitHub

@dbaeumer is already working on this.

Since Jul 14, 2021.

bug
Dominant language
TypeScript
Stars
10.2k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.