Skip to content

Commit

Permalink
Add .vscode/settings.json with custom label prefix for route files
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Marwick committed Sep 16, 2024
1 parent a374e70 commit f42e36f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"workbench.editor.customLabels.patterns": {
"**/+layout.*": "${dirname}/${filename}.${extname}",
"**/+page.*": "${dirname}/${filename}.${extname}",
"**/+server.*": "${dirname}/${filename}.${extname}",
"**/routes/+layout.*": "home/${filename}.${extname}",
"**/routes/+page.*": "home/${filename}.${extname}",
"**/routes/+server.*": "home/${filename}.${extname}",
},
}

0 comments on commit f42e36f

Please sign in to comment.