new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Next.js App Router · all subjects

getting-started/editor-setup

2 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

VS Code custom editor labels for App Router files

To distinguish same-named App Router files (like multiple `page.tsx` files), add custom editor labels to `.vscode/settings.json` in VS Code 1.88+ or Cursor. Configure the `workbench.editor.customLabels.patterns` setting with patterns like `"**/app/**/page.tsx": "${dirname(1)}/${dirname} - page.tsx"` to show folder context. JetBrains IDEs (WebStorm, IntelliJ) automatically show folder names for same-named files.

App Router file custom editor labels configuration

Example `.vscode/settings.json` configuration for custom editor labels: ```json { "workbench.editor.customLabels.patterns": { "**/app/**/page.tsx": "${dirname(1)}/${dirname} - page.tsx", "**/app/**/layout.tsx": "${dirname(1)}/${dirname} - layout.tsx", "**/app/**/loading.tsx": "${dirname(1)}/${dirname} - loading.tsx", "**/app/**/error.tsx": "${dirname(1)}/${dirname} - error.tsx", "**/app/**/not-found.tsx": "${dirname(1)}/${dirname} - not-found.tsx", "**/app/**/template.tsx": "${dirname(1)}/${dirname} - template.tsx", "**/app/**/default.tsx": "${dirname(1)}/${dirname} - default.tsx", "**/app/**/route.ts": "${dirname(1)}/${dirname} - route.ts" } } ```

Give your agent this brain