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) :

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.
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) :
As
vscode.Workspace.rootPathis deprecated, we still can use the first path resolved from the firstWorkspaceFolderreturned byvscode.Workspace.workspaceFolders[].The same initial path is to be used when opening the
Select Folderfolder selection dialog.