This example shows how to configure custom display names for your catalog directories using the new copilotCatalog.catalogDisplayNames setting.
Add this to your VS Code settings.json:
{
"copilotCatalog.directories": [
"/path/to/shared/catalog",
"/path/to/team/resources",
"./local_catalog",
"https://company.com/remote-catalog/"
],
"copilotCatalog.catalogDisplayNames": {
"/path/to/shared/catalog": "🌍 Company Shared Resources",
"/path/to/team/resources": "👥 Team Catalog",
"local_catalog": "📁 Local Development",
"https://company.com/remote-catalog/": "☁️ Remote Corporate Catalog"
}
}The extension will use the custom display names in the tree view and filter dropdown instead of showing the raw directory paths:
-
Instead of:
shared -
Shows:
🌍 Company Shared Resources -
Instead of:
team -
Shows:
👥 Team Catalog -
Instead of:
local_catalog -
Shows:
📁 Local Development -
Instead of:
remote-catalog -
Shows:
☁️ Remote Corporate Catalog
The extension matches paths in this order of preference:
- Exact Path Match:
/full/absolute/path/to/catalog - Normalized Path Match: Resolves relative paths to absolute for matching
- Partial Path Match:
projects/shared/resourcesmatches/workspace/projects/shared/resources - Basename Fallback: If no mapping exists, uses the directory name
{
"copilotCatalog.directories": ["./copilot_catalog", "./shared_resources"],
"copilotCatalog.catalogDisplayNames": {
"copilot_catalog": "Main Catalog",
"shared_resources": "Shared Assets"
}
}{
"copilotCatalog.directories": [
"/shared/engineering/ai-catalog",
"/shared/marketing/prompts",
"./team-specific/catalog",
"https://cdn.company.com/ai-resources/"
],
"copilotCatalog.catalogDisplayNames": {
"/shared/engineering/ai-catalog": "🔧 Engineering AI Tools",
"/shared/marketing/prompts": "📢 Marketing Prompts",
"team-specific/catalog": "🏠 Team Resources",
"https://cdn.company.com/ai-resources/": "🌐 Corporate CDN"
}
}- Cleaner UI: Friendly names instead of technical paths
- Better Organization: Use emojis and descriptive names
- Team Clarity: Clear indication of catalog purpose and scope
- Flexible Mapping: Works with local, shared, and remote catalogs
- If no display name is configured, the extension falls back to using the directory basename
- Display names appear in the catalog filter dropdown and resource labels
- Works with both local directories and remote HTTPS URLs
- Changes take effect after refreshing the catalog view