Skip to content

When creating a component use a first workspace folder as an initial path value  #3452

@vrubezhny

Description

@vrubezhny

As a developer, when creating a component I want the component folder path field to be pre-set with a Workspace folder path.

Normally a component is created in a User Workspace or its child folder, so ideally if user will need to only type this part of path value having the already pre-filled prefix part of the path value (because the path prefix can be a way longer than the relative path to a component) :

Screenshot from 2023-10-18 15-28-20

As vscode.Workspace.rootPath is deprecated, we still can use the first path resolved from the first WorkspaceFolder returned by vscode.Workspace.workspaceFolders[].

The same initial path is to be used when opening the Select Folder folder selection dialog.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions