Skip to content

Workspace folder picker entry descriptions are suboptimal for some filesystems #183418

Closed
@gjsjohnmurray

Description

@gjsjohnmurray

Type: Bug

  1. Configure setting "terminal.integrated.splitCwd": "workspaceRoot" in order to provide a convenient way of invoking the workspace folder picker by splitting a terminal when in a multiroot workspace.
  2. Install the MemFS extension (jrieken.vscode-memfs) from Marketplace.
  3. Close any open folder or workspace, then run the MemFS: Setup Workspace command.
  4. Run Preferences: Open Workspace Settings (JSON)
  5. Edit this to simulate a multi-root workspace in which the paths of the uris point to the filesystem root of two different authorities:
{
	"folders": [
		{
			"name": "MemFS - Sample 1",
			"uri": "memfs://1/"
		},
		{
			"name": "MemFS - Sample 2",
			"uri": "memfs://2/"
		}
	],
	"settings": {}
}
  1. On the Terminal tab on the Panel, use the Split Terminal button.

The Workspace folder picker looks like this:

image

Displaying the folder name twice on each line is unhelpful.

When the path of the uri is / I propose showing the non-relative label instead. I will submit a PR.

VS Code version: Code - Insiders 1.79.0-insider (f6be546, 2023-05-20T01:18:53.811Z)
OS version: Windows_NT x64 10.0.22621
Modes:

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions