Customized parameters for folder path of .code-workspace file
See original GitHub issueThere is the following configuration variable:
$workspaceRoot: The path of the folder opened in VS Code
It is actually refering to the parent folder of the extecuted script instead of pointing to the root of the workspace in which the workspace file is residing.
Is there a variable or can there be a variable introduced pointing to the the folder in which the workspace file resides?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
User and Workspace Settings - Visual Studio Code
The workspace settings file is located under the .vscode folder in your root folder. The File Explorer displaying settings.json under the .vscode folder....
Read more >User and Workspace Settings - vscode-docs
The workspace settings file is located under the .vscode folder in your project. Settings File Sections. The settings.json file is divided into these...
Read more >What is a 'workspace' in Visual Studio Code? - Stack Overflow
A Visual Studio Code workspace is a list of a project's folders and files. A workspace can contain multiple folders. You can customize...
Read more >Change default path for VS Code workspace files ...
You should be able to use code --user-data-dir E:\wspace\ , however, that will change the directory for all user data. workspaceStorage is ...
Read more >Set up a workspace in VS Code
Using the ServiceNow Extensions for VS Code, create a project work folder to use as a workspace for ServiceNow applications. ... Click the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, your requirement is: having a variable that points to the folder of
.code-workspace
?Exactly 😄