Browse Source

vscode settings

main
pvincent 5 months ago
parent
commit
2508cb35f3
  1. 14
      .vscode/extensions.json
  2. 31
      .vscode/settings.json

14
.vscode/extensions.json

@ -1,15 +1,17 @@
{ {
"recommendations": [ "recommendations": [
"shopify.ruby-lsp",
"aki77.rails-db-schema", "aki77.rails-db-schema",
"yzhang.markdown-all-in-one",
"jgclark.vscode-todo-highlight",
"bradlc.vscode-tailwindcss",
"aliariff.vscode-erb-beautify", "aliariff.vscode-erb-beautify",
"waderyan.gitblame",
"bierner.markdown-mermaid",
"bpruitt-goddard.mermaid-markdown-syntax-highlighting",
"bradlc.vscode-tailwindcss",
"formulahendry.auto-close-tag", "formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag", "formulahendry.auto-rename-tag",
"jgclark.vscode-todo-highlight",
"moalamri.inline-fold", "moalamri.inline-fold",
"bpruitt-goddard.mermaid-markdown-syntax-highlighting"
"redhat.vscode-yaml",
"shopify.ruby-lsp",
"waderyan.gitblame",
"yzhang.markdown-all-in-one",
] ]
} }

31
.vscode/settings.json

@ -1,5 +1,4 @@
{ {
// All of these settings are scoped only to the Ruby language
"[ruby]": { "[ruby]": {
"editor.defaultFormatter": "Shopify.ruby-lsp", // Use the Ruby LSP as the default formatter "editor.defaultFormatter": "Shopify.ruby-lsp", // Use the Ruby LSP as the default formatter
"editor.semanticHighlighting.enabled": true, // Enable semantic highlighting "editor.semanticHighlighting.enabled": true, // Enable semantic highlighting
@ -8,29 +7,39 @@
"[erb]": { "[erb]": {
"editor.defaultFormatter": "aliariff.vscode-erb-beautify", "editor.defaultFormatter": "aliariff.vscode-erb-beautify",
}, },
"database-client.telemetry.usesOnlineServices": false,
"debug.internalConsoleOptions": "neverOpen",
"editor.formatOnSave": true,
"editor.tabSize": 2, // Use 2 spaces for indentation
"editor.insertSpaces": true,
"emmet.includeLanguages": { "emmet.includeLanguages": {
"erb": "html" "erb": "html"
}, },
"inlineFold.regex": "(class=|className=|class:\\s*)(({(`|))|(['\"`]))(.*?)(\\2|(\\4)})", // inline AlpineJs `class: `
"files.associations": { "files.associations": {
"*.html.erb": "erb", "*.html.erb": "erb",
"*.tailwind.css": "tailwindcss" "*.tailwind.css": "tailwindcss"
}, },
"tailwindCSS.emmetCompletions": true,
"todohighlight.enableDiagnostics": true,
"todohighlight.include": [
"**/*.js",
"**/*.html",
"**/*.css",
"**/*.rb",
"**/*.txt",
"**/*.md",
"**/*.erb",
"**/*.rake"
],
"vscode-erb-beautify.keepBlankLines": 1, "vscode-erb-beautify.keepBlankLines": 1,
"inlineFold.regex": "(class=|className=|class:\\s*)(({(`|))|(['\"`]))(.*?)(\\2|(\\4)})", // inline AlpineJs `class: `
"debug.internalConsoleOptions": "neverOpen",
"testExplorer.addToEditorContextMenu": true,
// -----------------256-color ANSI SUPPORT ---------------- // -----------------256-color ANSI SUPPORT ----------------
"workbench.colorTheme": "Default Dark Modern",
"terminal.integrated.shellIntegration.enabled": false,
"terminal.integrated.minimumContrastRatio": 1, "terminal.integrated.minimumContrastRatio": 1,
"terminal.integrated.drawBoldTextInBrightColors": false, "terminal.integrated.drawBoldTextInBrightColors": false,
"workbench.colorCustomizations": { "workbench.colorCustomizations": {
"terminal.background": "#1f1f1f" "terminal.background": "#1f1f1f"
// "terminal.foreground" : "#EEEEEE",
}, },
"workbench.colorTheme": "Default Dark Modern",
// --------------------------------------------------------- // ---------------------------------------------------------
"terminal.integrated.shellIntegration.enabled": false,
"editor.formatOnSave": true,
"editor.tabSize": 2, // Use 2 spaces for indentation
"editor.insertSpaces": true,
"todohighlight.enableDiagnostics": true, // Use spaces and not tabs for indentantion
} }
Loading…
Cancel
Save