microsoft/vscode

JSON: workspace.rootPath is deprecated

Closed this issue · 3 comments

Testing #39568

image

@dbaeumer The language server client does that. I wonder if we should add a configuration setting to the language server client to signal that the server doesn't need it, or a rule to our extension profile tooling to ignore it.

@aeschli having a setting for this sounds wired. What if there is another deprecated API. Should I leave that out as well then.

I think what we can do is to use workspaceFolders[0] which is equal to rootFolders. Opened microsoft/vscode-languageserver-node#285

Closing then, all is fine here.