chore(vscode): update extensions and settings for improved SCSS and template support

This commit is contained in:
Cell
2026-05-29 14:20:21 +08:00
parent ba369aec14
commit ddbf47df7f
2 changed files with 13 additions and 1 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
"kaellarkin.hugo-shortcode-syntax",
"lruihao.hugo-partials-refs",
"tamasfe.even-better-toml",
"casualjim.gotemplate"
"casualjim.gotemplate",
"SomewhatStationery.some-sass"
]
}
+11
View File
@@ -8,6 +8,14 @@
"hugo.toml": "theme.toml, .hugo_build.lock",
"vercel.json": "build.sh"
},
"files.associations": {
"*.template.scss": "gocss",
"*.template.svg": "html",
"**/plugin/script.html": "gohtml",
"**/layouts/**/*.json": "gojson",
"**/layouts/**/*.xml": "gohtml",
"**/layouts/**/*.md": "gotemplate"
},
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
@@ -69,6 +77,9 @@
"fixable": true
}
],
// SCSS path resolution (Some Sass extension)
"somesass.workspace.loadPaths": ["assets/scss"],
"somesass.scss.links.enabled": true,
// Enable eslint for all supported languages
"eslint.validate": [
"go-html-template",