Opening folders in Visual Studio Code from an extension
![Opening folders in Visual Studio Code from an extension Opening folders in Visual Studio Code from an extension](https://www.eliostruyf.com/social/b64751c9-abda-4a48-b9c3-c793d86f1d32.png)
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