Catalog Display Names Configuration Example
September 8, 2025 ยท View on GitHub
This example shows how to configure custom display names for your catalog directories using the new copilotCatalog.catalogDisplayNames setting.
Settings Configuration
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"
}
}
How It Works
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
Path Matching Rules
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
Examples
Simple Setup
{
"copilotCatalog.directories": ["./copilot_catalog", "./shared_resources"],
"copilotCatalog.catalogDisplayNames": {
"copilot_catalog": "Main Catalog",
"shared_resources": "Shared Assets"
}
}
Advanced Multi-Team Setup
{
"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"
}
}
Benefits
- 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
Notes
- 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