Skip to content

Instantly share code, notes, and snippets.

@v19i
Last active February 20, 2024 09:49
Show Gist options
  • Save v19i/79d675b30154f206d7f2463bec6cd5dd to your computer and use it in GitHub Desktop.
Save v19i/79d675b30154f206d7f2463bec6cd5dd to your computer and use it in GitHub Desktop.
VSCode - settings.json
{
// App
"window.nativeTabs": false,
// Window Title, only works with native tabs enabled
// "window.title": "${activeEditorShort}${separator}${rootName}"
"window.title": "${activeFolderShort}",
"window.newWindowDimensions": "inherit",
"window.autoDetectColorScheme": true,
"window.confirmBeforeClose": "keyboardOnly",
"files.hotExit": "onExitAndWindowClose",
"security.workspace.trust.untrustedFiles": "open",
// Toolbar
"debug.toolBarLocation": "docked",
"diffEditor.renderSideBySide": true,
"breadcrumbs.enabled": true,
// https://marketplace.visualstudio.com/items?itemName=smockle.xcode-default-theme
"workbench.colorTheme": "Xcode Default (Light)",
"terminal.external.osxExec": "terminal.app",
// https://github.com/Microsoft/vscode/issues/36987
"terminal.integrated.shellArgs.osx": [],
"terminal.integrated.fontSize": 14,
"terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.rendererType": "experimentalWebgl",
"workbench.preferredLightColorTheme": "Xcode Default (Light)",
"workbench.preferredDarkColorTheme": "Xcode Default (Dark)",
"workbench.colorCustomizations": {
"editorIndentGuide.background1": "#aaaaaa11",
"[Default Light+]": {
"statusBar.background": "#2C2C2C"
},
// "editor.background": "#0c0c0c",
"[Xcode Default (Dark)]": {
// high contrast
// "panel.background": "#0c0c0c",
// "sideBar.background": "#0c0c0c",
// "editor.background": "#0c0c0c",
// "menu.background": "#0c0c0c",
// "statusBar.background": "#0c0c0c",
// "activityBar.background": "#0c0c0c"
// ---
// "panel.background": "#1E1E1E",
// "sideBar.background": "#1E1E1E",
// "editor.background": "#1E1E1E",
// "menu.background": "#1E1E1E",
// "statusBar.background": "#1E1E1E",
// "activityBar.background": "#1E1E1E",
// ---
// "terminal.background": "#292A30",
// ---
// "panel.background": "#1C1C1C",
// "sideBar.background": "#1C1C1C",
// "editor.background": "#1C1C1C",
// "menu.background": "#1C1C1C",
// "statusBar.background": "#1C1C1C",
// "activityBar.background": "#1C1C1C",
// "terminal.background": "#1C1C1C",
// "terminal.background": "#1E1E1E",
"terminal.background": "#1A1A1A"
},
"[White]": {
// "editorLineNumber.foreground": "#1E1E1E"
},
"[White Night]": {},
"[Black on White]": {
"statusBar.background": "#2C2C2C"
},
"[Spinel Light]": {
"editor.background": "#FAFAFA",
"sideBar.background": "#FAFAFA",
"tab.inactiveBackground": "#FAFAFA",
"terminal.background": "#FAFAFA"
}
},
"workbench.editor.enablePreview": false,
"workbench.editor.tabCloseButton": "left",
"workbench.iconTheme": "vscode-icons",
// Editor
/*
Fira Code font family
- "Fira Code": generic
- "FiraCode-Retina": exact version to use for macOS
- "Fira Code Retina": version to use for Linux and Windows
*/
"editor.fontFamily": "SF Mono, FiraCode-Retina, Fira Code Retina",
"editor.fontSize": 14,
"editor.fontLigatures": true,
"editor.tabSize": 2,
"editor.minimap.enabled": false,
"editor.minimap.renderCharacters": false,
"editor.renderLineHighlight": "none",
"editor.detectIndentation": false,
"editor.suggestSelection": "first",
"editor.wordWrap": "on",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.inlineSuggest.enabled": true,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
// Language specific
"markdown.preview.fontSize": 14,
"javascript.validate.enable": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.inlayHints.parameterNames": "all",
"typescript.inlayHints.parameterHints.enabled": true,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[markdown]": {
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": false,
"editor.wordWrap": "on",
"editor.quickSuggestions": {
"comments": "off",
"strings": "off",
"other": "off"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"svelte.enable-ts-plugin": true,
"[svelte]": {
"editor.defaultFormatter": "svelte.svelte-vscode"
},
"[ruby]": {
"editor.defaultFormatter": "Shopify.ruby-lsp",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.semanticHighlighting.enabled": true,
"editor.rulers": [ 120 ],
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
},
"rubyLsp.enableExperimentalFeatures": true,
"rubyLsp.rubyVersionManager": "rbenv",
"rubocop.commandPath": "/Users/valerio.francescangeli/.rbenv/shims/rubocop",
/* Go - Start */
"go.vetOnSave": "workspace",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"go.toolsManagement.autoUpdate": true,
// https://github.com/golang/vscode-go/issues/1823#issuecomment-1015460606
"go.alternateTools": {
"go": "/opt/homebrew/bin/go"
},
"[go]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true
},
/* Go - End */
"terraform.indexing": {
"enabled": false,
"liveIndexing": false,
"delay": 500,
"exclude": [".terraform/**/*", "**/.terraform/**/*"]
},
"terraform.languageServer": {
"external": true,
"args": ["serve"]
},
// Extensions
"gitlens.views.fileHistory.enabled": true,
"sync.gist": "2b95065da44d50ae38f8b29042eabb25",
"sync.autoDownload": true,
"sync.autoUpload": true,
"sync.forceDownload": false,
"sync.quietSync": true,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"todohighlight.isEnable": true,
"todohighlight.keywords": [
{
"text": "NOTE:",
"color": "#ff0000",
"backgroundColor": "yellow",
"overviewRulerColor": "grey"
}
],
"gitlens.keymap": "chorded",
"git.autofetch": true,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"tslint.packageManager": "yarn",
"sync.forceUpload": true,
"liveshare.featureSet": "stable",
"vs-kubernetes": {
"vs-kubernetes.helm-path.mac": "/Users/valerio.francescangeli/.vs-kubernetes/tools/helm/darwin-amd64/helm",
"vs-kubernetes.minikube-path.mac": "/Users/valerio.francescangeli/.vs-kubernetes/tools/minikube/darwin-amd64/minikube",
"vs-kubernetes.draft-path.mac": "/Users/valerio.francescangeli/.vs-kubernetes/tools/draft/darwin-amd64/draft",
"vscode-kubernetes.helm-path.mac": "/Users/valerio/.vs-kubernetes/tools/helm/darwin-arm64/helm",
"vscode-kubernetes.minikube-path.mac": "/Users/valerio/.vs-kubernetes/tools/minikube/darwin-arm64/minikube",
"vscode-kubernetes.kubectl-path.mac": "/Users/valerio/.vs-kubernetes/tools/kubectl/kubectl",
"vscode-kubernetes.helm-path-mac": "/Users/valerio/.vs-kubernetes/tools/helm/darwin-arm64/helm",
"vscode-kubernetes.kubectl-path-mac": "/Users/valerio/.vs-kubernetes/tools/kubectl/kubectl",
"vscode-kubernetes.minikube-path-mac": "/Users/valerio/.vs-kubernetes/tools/minikube/darwin-arm64/minikube"
},
"redhat.telemetry.enabled": true,
"angular.experimental-ivy": true,
"github.copilot.enable": {
"*": true,
"plaintext": true,
"markdown": true,
"scminput": false,
"yaml": false,
"javascript": true
},
"editor.accessibilitySupport": "off",
"editor.guides.indentation": true,
"thunder-client.codeSnippetLanguage": "curl",
"code-runner.clearPreviousOutput": true,
"[python]": {
"editor.formatOnType": true
},
"yaml.customTags": [
"!And",
"!And sequence",
"!If",
"!If sequence",
"!Not",
"!Not sequence",
"!Equals",
"!Equals sequence",
"!Or",
"!Or sequence",
"!FindInMap",
"!FindInMap sequence",
"!Base64",
"!Join",
"!Join sequence",
"!Cidr",
"!Ref",
"!Sub",
"!Sub sequence",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!ImportValue sequence",
"!Select",
"!Select sequence",
"!Split",
"!Split sequence"
],
"nxConsole.showNodeVersionOnStartup": false,
"diffEditor.hideUnchangedRegions.enabled": true,
"workbench.editor.tabActionLocation": "left"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment