vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

Avoid using `workspace.rootPath`

Open roblourens opened this issue 6 years ago • 2 comments

workspace.rootPath is a deprecated property and may not work as expected. Please use workspaceFolders instead. More info: https://github.com/microsoft/vscode/wiki/Adopting-Multi-Root-Workspace-APIs#eliminating-rootpath

https://github.com/microsoft/vscode/issues/69335

roblourens avatar Aug 24 '19 20:08 roblourens

Yes, just want to echo that integrated console is opening in root of first (unrelated) project rather than root of project containing script in a multi-root workspace. Which is not desirable but understand you are tracking this.

markm77 avatar Apr 10 '20 16:04 markm77

The problem is, the extension has been working with the assumption that there's one root for so long that switching to mult-root is non-trivial unfortunately.. but we do want to support this.

TylerLeonhardt avatar Apr 10 '20 19:04 TylerLeonhardt