Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save JohnPhamous/2ac321056be5d87106862170b690b8d4 to your computer and use it in GitHub Desktop.

Select an option

Save JohnPhamous/2ac321056be5d87106862170b690b8d4 to your computer and use it in GitHub Desktop.
"workbench.editor.customLabels.enabled": false,
"workbench.editor.customLabels.patterns": {
"**/page.*": "${dirname}.${extname}",
"**/layout.*": "${dirname}/layout.${extname}",
"**/default.*": "${dirname}/default.${extname}",
"**/error.*": "${dirname}/error.${extname}",
"**/forbidden.*": "${dirname}/forbidden.${extname}",
"**/instrumentation.*": "${dirname}/instrumentation.${extname}",
"**/instrumentation-client.*": "${dirname}/instrumentation-client.${extname}",
"**/loading.*": "${dirname}/loading.${extname}",
"**/mdx-components.*": "${dirname}/mdx-components.${extname}",
"**/not-found.*": "${dirname}/not-found.${extname}",
"**/proxy.*": "${dirname}/proxy.${extname}",
"**/middleware.*": "${dirname}/middleware.${extname}",
"**/route.*": "${dirname}/route.${extname}",
"**/template.*": "${dirname}/template.${extname}",
"**/unauthorized.*": "${dirname}/unauthorized.${extname}",
"**/index.*": "${dirname(1)}/${dirname}",
"**/index.module.css": "${dirname(1)}/${dirname}",
"**/index.ts": "${dirname(1)}/${dirname}",
"**/index.tsx": "${dirname(1)}/${dirname}"
},
@VladSez
Copy link

VladSez commented Feb 11, 2026

Shouldn't it be false here: "workbench.editor.customLabels.enabled": false ?
If I understand this correctly, it should either be "workbench.editor.customLabels.enabled": true or be skipped entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment