Skip to content

Instantly share code, notes, and snippets.

@RobinBoers
Created August 3, 2023 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobinBoers/c3101bc236d48b0f852d6eae84794ea3 to your computer and use it in GitHub Desktop.
Save RobinBoers/c3101bc236d48b0f852d6eae84794ea3 to your computer and use it in GitHub Desktop.
VSCode preferences
{
// Global
"window.restoreWindows": "folders",
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.formatOnType": true,
"editor.tabSize": 2,
// Theming / setup
"workbench.colorTheme": "Adwaita Light",
"editor.fontFamily": "monospace",
"editor.fontLigatures": true,
"editor.fontSize": 25, //21
"editor.bracketPairColorization.enabled": false,
"terminal.integrated.fontSize": 26, //30
"workbench.iconTheme": "vscode-icons",
"workbench.productIconTheme": "fluent-icons",
"window.nativeTabs": true,
"window.title": "${dirty}${activeEditorLong}${separator}${appName}${separator}${remoteName}",
"window.titleSeparator": " » ",
"window.menuBarVisibility": "compact",
"window.titleBarStyle": "custom",
"editor.cursorBlinking": "phase",
"editor.cursorSmoothCaretAnimation": "on",
// Base configuration / sensible defaults
"workbench.editor.untitled.experimentalLanguageDetection": true,
"workbench.tips.enabled": false,
"redhat.telemetry.enabled": false,
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.enableMultiLinePasteWarning": false,
"terminal.integrated.persistentSessionReviveProcess": "never",
"git.enableCommitSigning": true,
"editor.unicodeHighlight.allowedCharacters": {
"❯": true,
"❮": true
},
"markdownlint.config": {
"MD030": false,
"MD045": false,
"MD036": false,
"MD026": false,
"MD041": false,
"MD033": false,
"MD024": false
},
"editor.selectionClipboard": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"rust-analyzer.checkOnSave.command": "clippy",
"colorize.include": ["*"],
"css.lint.zeroUnits": "warning",
"css.lint.ieHack": "warning",
"css.lint.unknownAtRules": "ignore",
"remoteHub.commitDirectlyWarning": "off",
"explorer.confirmDelete": false,
"git.autofetch": true,
"git.enableSmartCommit": true,
"diffEditor.ignoreTrimWhitespace": false,
"explorer.confirmDragAndDrop": false,
"workbench.startupEditor": "none",
"git.confirmSync": false,
"git.openRepositoryInParentFolders": "always",
"editor.inlayHints.enabled": "off",
// Extensions
"gitlens.hovers.currentLine.over": "line",
"gitlens.currentLine.enabled": false,
"gitlens.defaultDateShortFormat": "D MMMM YYYY",
"gitlens.defaultTimeFormat": "H:MM",
"gitlens.defaultDateFormat": "D MMMM YYYY, H:MM",
"gitlens.codeLens.enabled": false,
"python.defaultInterpreterPath": "/bin/python3",
"cSpell.enabled": false,
"elixirLS.suggestSpecs": false,
"elixirLS.dialyzerEnabled": false,
"elixirLS.fetchDeps": false,
"vsicons.dontShowNewVersionMessage": true,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
},
"[phoenix-heex]": {
"editor.defaultFormatter": "JakeBecker.elixir-ls",
"editor.formatOnSave": false
},
"[eex]": {
"editor.defaultFormatter": "JakeBecker.elixir-ls",
"editor.formatOnSave": false
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[xsl]": {
"editor.defaultFormatter": "redhat.vscode-xml"
},
"emmet.includeLanguages": {
"phoenix-heex": "html"
},
"tailwindCSS.includeLanguages": {
"elixir": "html",
"phoenix-heex": "html"
},
"files.associations": {
"**/.i3/config": "i3",
"**/i3/config": "i3",
"**/.sway/config": "i3",
"**/sway/config": "i3",
"**/.i3status/config": "i3",
"**/i3status/config": "i3",
"**/.i3lock/config": "i3",
"**/i3lock/config": "i3",
"**/.swaylock/config": "i3",
"**/swaylock/config": "i3",
"*.heex": "phoenix-heex",
"*.grape": "dart"
},
"[python]": {
"editor.formatOnType": true
},
"yaml.validate": false,
"[elixir]": {
"editor.defaultFormatter": "JakeBecker.elixir-ls"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"window.zoomLevel": -1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment