Skip to content

Specify the workspace folder of the root uri if available#849

Merged
dzhou121 merged 1 commit intolapce:masterfrom
MinusGix:specify-workspace-folder
Jul 22, 2022
Merged

Specify the workspace folder of the root uri if available#849
dzhou121 merged 1 commit intolapce:masterfrom
MinusGix:specify-workspace-folder

Conversation

@MinusGix
Copy link
Copy Markdown
Member

@MinusGix MinusGix commented Jul 22, 2022

root_uri is deprecated, and so we should specify workspace folder as well (if we can). I don't think there's any LSPs that actually require it currently, but it might be useful in the future.
Note: I was a bit uncertain about the name of the workspace passed to the LSP. At a glance I didn't nice function on Url to get the basename, and I'm not sure it matters much beyond the case of if an LSP decides to use it in an error message?

@MinusGix MinusGix added the A-lsp Area: LSP, assists and code completion label Jul 22, 2022
@dzhou121 dzhou121 merged commit 2f7a6e2 into lapce:master Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lsp Area: LSP, assists and code completion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants