Skip to content

${workspaceFolder} expands to VSCode executable directory when no workspace folder is loaded` #3749

@IanMatthewHuff

Description

@IanMatthewHuff

Observe one of our settings such as python.dataScience.notebookFileRoot which use ${workspaceFolder} variable as a value. When you load this setting without a workspace loaded instead of undefined or empty string it provides a value for the current directory, usually the vscode exe location. This isn't the workspace directory and can throw off things trying to use these settings.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions