Skip to content

WorkspaceFolder value in resolved environment is incorrect #20105

@DonJayamanne

Description

@DonJayamanne

The documentation for worksapceFolder is as follows

              /**
               * Any specific workspace folder this environment is created for.
               */
              readonly workspaceFolder: Uri | undefined;

However when I resolve the environment the value is the folder of the enviornment it self.
See below,

  • Workspace folder in vscode is the folder stuff
  • The virtual enviornment is .vengWidgets and this is inside stuff folder
  • However the value for workspaceFolder is .venvWidgets

This causes issues as we exclude environments that do not belong to the current workscape folder stuff

Screen Shot 2022-10-28 at 04 28 51

Metadata

Metadata

Assignees

Labels

area-environmentsFeatures relating to handling interpreter environmentsauthor-verification-requestedIssues potentially verifiable by issue authorbugIssue identified by VS Code Team member as probable bugneeds PRReady to be worked onverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions