Skip to content

Commit e867889

Browse files
committed
feat(vscode): update vscode settings
1 parent 371c8f4 commit e867889

File tree

6 files changed

+107
-62
lines changed

6 files changed

+107
-62
lines changed

editors/vscode/settings.json

+86-42
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
{
2+
"[dockercompose]": {
3+
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
4+
},
5+
"[dockerfile]": {
6+
"editor.defaultFormatter": "ms-azuretools.vscode-docker"
7+
},
8+
"[html]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
211
"[javascript]": {
312
"editor.defaultFormatter": "esbenp.prettier-vscode"
413
},
@@ -11,40 +20,52 @@
1120
"[markdown]": {
1221
"editor.defaultFormatter": "esbenp.prettier-vscode"
1322
},
23+
"[typescript]": {
24+
"editor.defaultFormatter": "esbenp.prettier-vscode"
25+
},
26+
"[typescriptreact]": {
27+
"editor.defaultFormatter": "esbenp.prettier-vscode"
28+
},
29+
"[yaml]": {
30+
"editor.defaultFormatter": "esbenp.prettier-vscode"
31+
},
1432
"breadcrumbs.enabled": true,
15-
"cSpell.userWords": [
16-
"Authelia",
17-
"Cascadia",
18-
"codesnap",
19-
"conta",
20-
"dotenv",
21-
"esbenp",
22-
"Fira",
23-
"marsmachine",
24-
"openapi",
25-
"pjsfiextr",
26-
"projectkey",
27-
"totp",
28-
"Traefik"
29-
],
33+
"codeium.enableConfig": {
34+
"*": true,
35+
"dockercompose": true,
36+
"markdown": true
37+
},
38+
"codeium.enableSearch": true,
3039
"codesnap.backgroundColor": "#21252b",
3140
"codesnap.boxShadow": "#21252b",
41+
"console-ninja.featureSet": "Community",
3242
"debug.console.fontSize": 18,
33-
"editor.accessibilitySupport": "off",
3443
"editor.acceptSuggestionOnEnter": "on",
44+
"editor.accessibilitySupport": "off",
3545
"editor.bracketPairColorization.enabled": true,
46+
"editor.codeActionsOnSave": {
47+
"source.fixAll": "explicit",
48+
"source.organizeImports": "never"
49+
},
3650
"editor.cursorBlinking": "smooth",
3751
"editor.cursorSmoothCaretAnimation": "on",
3852
"editor.cursorStyle": "line",
3953
"editor.fontFamily": "Delugia",
40-
"editor.fontLigatures": true,
54+
"editor.fontLigatures": "'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'zero', 'onum', 'calt', 'ss01'",
4155
"editor.fontSize": 16,
4256
"editor.formatOnPaste": false,
4357
"editor.formatOnSave": true,
4458
"editor.guides.bracketPairs": true,
4559
"editor.inlineSuggest.enabled": true,
60+
"editor.language.colorizedBracketPairs": [
61+
["[", "]"],
62+
["(", ")"],
63+
["{", "}"]
64+
],
4665
"editor.lineHeight": 2.1,
47-
"editor.minimap.enabled": false,
66+
"editor.maxTokenizationLineLength": 50000,
67+
"editor.multiCursorModifier": "ctrlCmd",
68+
"editor.occurrencesHighlight": "multiFile",
4869
"editor.quickSuggestions": {
4970
"comments": true,
5071
"other": true,
@@ -139,6 +160,8 @@
139160
]
140161
},
141162
"editor.wordWrap": "off",
163+
"errorLens.excludeBySource": ["cSpell"],
164+
"eslint.run": "onSave",
142165
"explorer.compactFolders": false,
143166
"explorer.confirmDelete": false,
144167
"explorer.confirmDragAndDrop": false,
@@ -205,42 +228,67 @@
205228
"vite.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*",
206229
"vue.config.*": "*.env, .babelrc*, .codecov, .cssnanorc*, .env.*, .envrc, .htmlnanorc*, .lighthouserc.*, .mocha*, .postcssrc*, .terserrc*, api-extractor.json, ava.config.*, babel.config.*, contentlayer.config.*, cssnano.config.*, cypress.*, env.d.ts, formkit.config.*, formulate.config.*, histoire.config.*, htmlnanorc.*, jasmine.*, jest.config.*, jsconfig.*, karma*, lighthouserc.*, playwright.config.*, postcss.config.*, puppeteer.config.*, svgo.config.*, tailwind.config.*, tsconfig.*, tsdoc.*, unocss.config.*, vitest.config.*, webpack.config.*, windi.config.*"
207230
},
231+
"files.associations": {
232+
".env*": "dotenv"
233+
},
208234
"files.autoSave": "onFocusChange",
209235
"files.eol": "\n",
236+
"git-graph.tabIconColourTheme": "grey",
210237
"git.autofetch": true,
238+
"git.openRepositoryInParentFolders": "never",
211239
"github.copilot.enable": {
212240
"*": true,
213241
"markdown": true,
214242
"plaintext": true,
215243
"yaml": true
216244
},
245+
"githubPullRequests.pullBranch": "never",
217246
"gitlens.codeLens.authors.enabled": false,
218247
"gitlens.codeLens.recentChange.enabled": false,
219248
"gitlens.currentLine.enabled": false,
220249
"gitlens.defaultDateStyle": "absolute",
221250
"gitlens.statusBar.enabled": true,
251+
"javascript.inlayHints.enumMemberValues.enabled": true,
252+
"javascript.inlayHints.functionLikeReturnTypes.enabled": true,
253+
"javascript.inlayHints.parameterNames.enabled": "all",
254+
"javascript.inlayHints.parameterTypes.enabled": true,
255+
"javascript.inlayHints.propertyDeclarationTypes.enabled": true,
256+
"javascript.inlayHints.variableTypes.enabled": true,
222257
"javascript.updateImportsOnFileMove.enabled": "always",
223-
"jest.autoRun": {
224-
"jest.runAllTestsFirst": false
225-
},
226-
"jest.showCoverageOnLoad": false,
258+
"jest.runMode": "on-demand",
227259
"markdown.preview.fontSize": 16,
260+
"multiDiffEditor.experimental.enabled": true,
228261
"oneDarkPro.bold": true,
229262
"oneDarkPro.italic": true,
230263
"oneDarkPro.vivid": true,
264+
"playwright.env": {
265+
"NODE_ENV": "test"
266+
},
267+
"playwright.reuseBrowser": true,
268+
"powermode.shake.enabled": false,
269+
"prettier.semi": true,
270+
"prettier.withNodeModules": true,
271+
"rapidapi.terminalLink.enabled": false,
231272
"redhat.telemetry.enabled": false,
232273
"remote.SSH.remotePlatform": {
233274
"192.168.1.21": "linux"
234275
},
235276
"search.useGlobalIgnoreFiles": true,
236277
"search.useIgnoreFiles": true,
278+
"security.workspace.trust.untrustedFiles": "open",
279+
"symbols.hidesExplorerArrows": false,
280+
"terminal.integrated.confirmOnExit": "always",
281+
"terminal.integrated.confirmOnKill": "always",
237282
"terminal.integrated.cursorStyle": "line",
283+
"terminal.integrated.defaultProfile.linux": "zsh",
238284
"terminal.integrated.env.linux": {},
239285
"terminal.integrated.env.osx": {
240-
"FIG_NEW_SESSION": "1"
286+
"FIG_NEW_SESSION": "1",
287+
"CW_NEW_SESSION": "1"
241288
},
242289
"terminal.integrated.fontFamily": "Delugia",
243290
"terminal.integrated.fontSize": 16,
291+
"terminal.integrated.stickyScroll.enabled": true,
244292
"todo-tree.general.tags": [
245293
"BUG",
246294
"HACK",
@@ -251,7 +299,16 @@
251299
"[x]"
252300
],
253301
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
302+
"typescript.inlayHints.enumMemberValues.enabled": true,
303+
"typescript.inlayHints.functionLikeReturnTypes.enabled": true,
304+
"typescript.inlayHints.parameterNames.enabled": "all",
305+
"typescript.inlayHints.parameterTypes.enabled": true,
306+
"typescript.inlayHints.propertyDeclarationTypes.enabled": true,
307+
"typescript.inlayHints.variableTypes.enabled": true,
308+
"typescript.preferences.importModuleSpecifier": "non-relative",
309+
"typescript.preferences.preferTypeOnlyAutoImports": true,
254310
"typescript.updateImportsOnFileMove.enabled": "always",
311+
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
255312
"where-am-i.colorful": false,
256313
"window.titleBarStyle": "custom",
257314
"workbench.colorCustomizations": {
@@ -276,29 +333,16 @@
276333
"workbench.colorTheme": "One Dark Pro",
277334
"workbench.editor.labelFormat": "short",
278335
"workbench.editor.languageDetection": true,
279-
"workbench.editorAssociations": {
280-
"*.md": "vscode.markdown.preview.editor"
281-
},
282-
"workbench.iconTheme": "symbols",
336+
"workbench.editor.pinnedTabsOnSeparateRow": true,
337+
"workbench.iconTheme": "material-icon-theme",
283338
"workbench.list.horizontalScrolling": true,
284339
"workbench.list.smoothScrolling": true,
285340
"workbench.productIconTheme": "fluent-icons",
286341
"workbench.settings.editor": "json",
287-
"workbench.startupEditor": "newUntitledFile",
342+
"workbench.sideBar.location": "left",
343+
"workbench.startupEditor": "none",
288344
"workbench.statusBar.visible": true,
345+
"workbench.tree.enableStickyScroll": true,
289346
"workbench.tree.indent": 20,
290-
"codeium.enableConfig": {
291-
"*": true,
292-
"dockercompose": true,
293-
"markdown": true
294-
},
295-
"[python]": {
296-
"editor.formatOnType": true
297-
},
298-
"symbols.hidesExplorerArrows": false,
299-
"markdown-pdf.displayHeaderFooter": false,
300-
"hediet.vscode-drawio.resizeImages": null,
301-
"hediet.vscode-drawio.theme": "sketch",
302-
"pieces.setCopilotLocation": true,
303-
"isort.check": true
347+
"editor.minimap.enabled": false
304348
}

shell/bash/.bash_profile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Fig pre block. Keep at the top of this file.
2-
[[ -f "$HOME/.fig/shell/bash_profile.pre.bash" ]] && builtin source "$HOME/.fig/shell/bash_profile.pre.bash"
1+
# CodeWhisperer pre block. Keep at the top of this file.
2+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/bash_profile.pre.bash" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/bash_profile.pre.bash"
33

44
# Load Homebrew
55
if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
@@ -34,5 +34,5 @@ if [ -d "$HOME/.local/bin" ] ; then
3434
PATH="$HOME/.local/bin:$PATH"
3535
fi
3636

37-
# Fig post block. Keep at the bottom of this file.
38-
[[ -f "$HOME/.fig/shell/bash_profile.post.bash" ]] && builtin source "$HOME/.fig/shell/bash_profile.post.bash"
37+
# CodeWhisperer post block. Keep at the bottom of this file.
38+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/bash_profile.post.bash" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/bash_profile.post.bash"

shell/bash/.bashrc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Fig pre block. Keep at the top of this file.
2-
[[ -f "$HOME/.fig/shell/bashrc.pre.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.pre.bash"
1+
# CodeWhisperer pre block. Keep at the top of this file.
2+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/bashrc.pre.bash" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/bashrc.pre.bash"
33

44
export DOTFILES_PATH=$([[ -d "$HOME/.dotfiles" ]] && echo "$HOME/.dotfiles" || echo "/usr/local/share/.dotfiles")
55

@@ -30,5 +30,5 @@ source $(brew --prefix)/etc/profile.d/z.sh
3030
# Load asdf and asdf plugins
3131
source $(brew --prefix)/opt/asdf/libexec/asdf.sh
3232

33-
# Fig post block. Keep at the bottom of this file.
34-
[[ -f "$HOME/.fig/shell/bashrc.post.bash" ]] && builtin source "$HOME/.fig/shell/bashrc.post.bash"
33+
# CodeWhisperer post block. Keep at the bottom of this file.
34+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/bashrc.post.bash" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/bashrc.post.bash"

shell/bash/.profile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Fig pre block. Keep at the top of this file.
2-
[[ -f "$HOME/.fig/shell/profile.pre.bash" ]] && builtin source "$HOME/.fig/shell/profile.pre.bash"
1+
# CodeWhisperer pre block. Keep at the top of this file.
2+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/profile.pre.bash" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/profile.pre.bash"
33

44
# Load Homebrew
55
if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
@@ -34,5 +34,5 @@ if [ -d "$HOME/.local/bin" ] ; then
3434
PATH="$HOME/.local/bin:$PATH"
3535
fi
3636

37-
# Fig post block. Keep at the bottom of this file.
38-
[[ -f "$HOME/.fig/shell/profile.post.bash" ]] && builtin source "$HOME/.fig/shell/profile.post.bash"
37+
# CodeWhisperer post block. Keep at the bottom of this file.
38+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/profile.post.bash" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/profile.post.bash"

shell/zsh/.zprofile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Fig pre block. Keep at the top of this file.
2-
[[ -f "$HOME/.fig/shell/zprofile.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zprofile.pre.zsh"
1+
# CodeWhisperer pre block. Keep at the top of this file.
2+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zprofile.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zprofile.pre.zsh"
33

44
# Load Homebrew
55
if [ -f "/home/linuxbrew/.linuxbrew/bin/brew" ]; then
@@ -10,5 +10,5 @@ elif [ -f "/usr/local/bin/brew" ]; then
1010
eval "$(/usr/local/bin/brew shellenv)"
1111
fi
1212

13-
# Fig post block. Keep at the bottom of this file.
14-
[[ -f "$HOME/.fig/shell/zprofile.post.zsh" ]] && builtin source "$HOME/.fig/shell/zprofile.post.zsh"
13+
# CodeWhisperer post block. Keep at the bottom of this file.
14+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zprofile.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zprofile.post.zsh"

shell/zsh/.zshrc

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Fig pre block. Keep at the top of this file.
2-
[[ -f "$HOME/.fig/shell/zshrc.pre.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.pre.zsh"
1+
# CodeWhisperer pre block. Keep at the top of this file.
2+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh"
33

44
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
55
# Initialization code that may require console input (password prompts, [y/n]
@@ -39,6 +39,7 @@ plugins=(
3939
extract
4040
forgit
4141
gitignore
42+
git
4243
mvn
4344
node
4445
npm
@@ -68,5 +69,5 @@ source $(brew --prefix)/opt/asdf/libexec/asdf.sh
6869
# Load powerlevel10k theme
6970
source ~/.p10k.zsh
7071

71-
# Fig post block. Keep at the bottom of this file.
72-
[[ -f "$HOME/.fig/shell/zshrc.post.zsh" ]] && builtin source "$HOME/.fig/shell/zshrc.post.zsh"
72+
# CodeWhisperer post block. Keep at the bottom of this file.
73+
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh"

0 commit comments

Comments
 (0)