Skip to content

Create Component from Folder doesn't trim suggested name to last portion of the path on Windows #3127

@datho7561

Description

@datho7561

To reproduce:

  • Use Windows
  • Open a project without a devfile as a workspace (eg. run the "Add folder to workspace" command, then select a sample project without a devfile)
  • Right click on the folder, and select "Create Component from Folder"

expected: the "component name" field is populated with the folder name

actual: the "component name" is populated with the absolute path of the folder, using a Windows-style path (with drive letter and \)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions