Skip to content

Instantly share code, notes, and snippets.

@spence-man
Last active April 20, 2020 19:01
Show Gist options
  • Save spence-man/e7c2a16b2a3b86c0a97709295faffafc to your computer and use it in GitHub Desktop.
Save spence-man/e7c2a16b2a3b86c0a97709295faffafc to your computer and use it in GitHub Desktop.
VS Code settings.json
{
// https://dev.to/andrewmcodes/ruby-on-rails-development-with-vs-code-p1i
// EDITOR
"editor.tabSize": 2,
"editor.fontSize": 16,
"editor.cursorStyle": "underline",
"editor.cursorBlinking": "expand",
"editor.formatOnSave": true,
"editor.rulers": [120],
"editor.renderWhitespace": "all",
"editor.formatOnPaste": true,
"editor.formatOnType": false,
"editor.detectIndentation": false,
// EXPLORER
"workbench.colorTheme": "Material Theme Palenight High Contrast",
"workbench.iconTheme": "easy-icons",
"workbench.editor.highlightModifiedTabs": true,
"workbench.colorCustomizations": {
"editor.background": "#181c26",
"editorIndentGuide.activeBackground": "#b83957",
"tab.activeBorderTop": "#640064"
},
"material-icon-theme.folders.theme": "classic",
"material-icon-theme.activeIconPack": "none",
// FILES
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.associations": {
"*.log": "log",
"Gemfile": "ruby"
},
// Language specific formatting settings
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[php]": {
"editor.tabSize": 4
},
// PLUGIN: Ruby
"ruby.useBundler": true,
"ruby.useLanguageServer": true,
"ruby.lint": {
"rubocop": true
},
"ruby.format": "rubocop",
// PLUGIN: Bracket Pair
"bracket-pair-colorizer-2.colors": [
"#00BCD4",
"#CDDC39",
"#EC407A",
"#9C27B0"
],
// PLUGIN: PHP IntelliSense
"php.suggest.basic": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment