Skip to content

prompt file picker should not hardcode label .github/instructions #274004

@aeschli

Description

@aeschli

result.push({ type: 'separator', label: '.github/instructions' });

  • the picker can be used for agents, prompts and instructions (defined by options.type), not only instructions
  • users can define other locations, and even multiple locations where prompts/instructions are found (see settings chat.promptFilesLocations, chat.instructionsFilesLocations
  • if you wanted to show all locations, use
    _promptsService.getSourceFolders returns all these source folders. labelService.getUriLabel gives you a nice workspace relative path

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions