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

[VSCode 1.38.1] Deprecated workspace.rootPath #26

Open
umarcor opened this issue Sep 14, 2019 · 0 comments
Open

[VSCode 1.38.1] Deprecated workspace.rootPath #26

umarcor opened this issue Sep 14, 2019 · 0 comments

Comments

@umarcor
Copy link
Member

umarcor commented Sep 14, 2019

Quite a while ago, we added support for multi-root workspaces and deprecated the API workspace.rootPath in favor of workspace.workspaceFolders and workspace.getWorkspaceFolder. We have noticed that many extensions still use this API, even though it won't work properly in multi-root workspaces. If you own an extension that uses this API, please update it as we may want to get rid of this API in the future. You can find more details about moving away from rootPath on the Adopting-Multi-Root-Workspace-APIs wiki page.

https://github.com/microsoft/vscode/wiki/Adopting-Multi-Root-Workspace-APIs#eliminating-rootpath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant