Opening folders in Visual Studio Code from an extension
I used the vscode.openFolder command in one of my extensions, one of the built-in commands that is available. The command can be combined with a URI argument to open the folder or workspace.
While testing it out, the command worked fine on macOS and Linux but gave issues on Windows paths.
Published on:
Learn more