VSCode Custom Label

customize display label for editor tabs and even quick search

2 views

Example:

json
// .vscode/settings.json
{
  "workbench.editor.customLabels.patterns": {
    "**/lib/**/index.{ts,tsx}": "${dirname}",
    "**/lib/views/**/index.{ts,tsx}": "${dirname} - Page",
    "**/lib/components/**/index.{ts,tsx}": "${dirname} - Component"
  }
}

References: