question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Customized parameters for folder path of .code-workspace file

See original GitHub issue

There 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:open
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
formulahendrycommented, Aug 12, 2018

So, your requirement is: having a variable that points to the folder of .code-workspace?

1reaction
woiglcommented, Aug 12, 2018

Exactly 😄

So, your requirement is: having a variable that points to the folder of .code-workspace?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found