Skip to content

Commit

Permalink
chore: Move vscode settings into dedicated files, away from devcontai…
Browse files Browse the repository at this point in the history
…ner config
  • Loading branch information
mircea-pavel-anton committed Sep 19, 2024
1 parent e07c29d commit 1cc7781
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 84 deletions.
86 changes: 2 additions & 84 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/jekyll
{
"name": "mirceanton.com-devcontainer",
"name": "Website",
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bookworm",
"features": {
"ghcr.io/devcontainers-contrib/features/go-task:1": {},
Expand All @@ -15,85 +13,5 @@
"remoteUser": "vscode",
"containerUser": "vscode",
"updateRemoteUserUID": true,
"postCreateCommand": "bash .devcontainer/setup.sh",
"customizations": {
"vscode": {
"extensions": [
"aaron-bond.better-comments",
"ms-azuretools.vscode-docker",
"davidanson.vscode-markdownlint",
"albert.TabOut",
"mhutchie.git-graph",
"bierner.emojisense",
"redhat.vscode-yaml",
"pkief.material-icon-theme",
"task.vscode-task",
"GitHub.copilot",
"foxundermoon.shell-format",
"DavidAnson.vscode-markdownlint",
"tamasfe.even-better-toml"
],
"settings": {
"editor.fontFamily": "Cascadia Code",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.cursorBlinking": "phase",
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.guides.bracketPairs": true,
"editor.guides.bracketPairsHorizontal": true,
"editor.guides.highlightActiveBracketPair": true,
"editor.hover.delay": 500,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
150,
200
],
"editor.stickyScroll.enabled": false,
"explorer.autoReveal": false,
"files.associations": {
"**/*.json5": "jsonc"
},
"files.trimTrailingWhitespace": true,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"workbench.iconTheme": "material-icon-theme",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "keep",
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format",
"files.eol": "\n"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.wordWrap": "on"
},
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker",
"editor.quickSuggestions": {
"strings": true
}
}
}
}
}
"postCreateCommand": "bash .devcontainer/setup.sh"
}
17 changes: 17 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"recommendations": [
"aaron-bond.better-comments",
"ms-azuretools.vscode-docker",
"davidanson.vscode-markdownlint",
"albert.TabOut",
"mhutchie.git-graph",
"bierner.emojisense",
"redhat.vscode-yaml",
"pkief.material-icon-theme",
"task.vscode-task",
"GitHub.copilot",
"foxundermoon.shell-format",
"DavidAnson.vscode-markdownlint",
"tamasfe.even-better-toml"
],
}
61 changes: 61 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"editor.fontFamily": "Cascadia Code",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.cursorBlinking": "phase",
"editor.bracketPairColorization.enabled": true,
"editor.bracketPairColorization.independentColorPoolPerBracketType": true,
"editor.guides.bracketPairs": true,
"editor.guides.bracketPairsHorizontal": true,
"editor.guides.highlightActiveBracketPair": true,
"editor.hover.delay": 500,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
150,
200
],
"editor.stickyScroll.enabled": false,
"explorer.autoReveal": false,
"files.associations": {
"**/*.json5": "jsonc"
},
"files.trimTrailingWhitespace": true,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"workbench.iconTheme": "material-icon-theme",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.autoIndent": "keep",
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format",
"files.eol": "\n"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
"editor.wordWrap": "on"
},
"[dockerfile]": {
"editor.defaultFormatter": "ms-azuretools.vscode-docker",
"editor.quickSuggestions": {
"strings": true
}
}
}

0 comments on commit 1cc7781

Please sign in to comment.