Last active
February 14, 2020 22:19
-
-
Save calrrox/f35fd8a21705e86f4efbaf2f4eb325ec to your computer and use it in GitHub Desktop.
configuration for vs code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Instalar extenciones: | |
// - endwise | |
// - Ruby | |
// - Ruby Solargraph | |
// - VSCode Ruby | |
// - https://github.com/ruby-debug/ruby-debug-ide | |
// - vscode-dbml | |
// - Live Share (microsoft account o github) | |
// - Gem lens | |
// - GitLens | |
// - Better Haml | |
{ | |
"ruby.useBundler": true, //run non-lint commands with bundle exec | |
"ruby.useLanguageServer": true, // use the internal language server (see below) | |
"ruby.lint": { | |
"rubocop": { | |
"useBundler": true // enable rubocop via bundler | |
}, | |
"reek": { | |
"useBundler": true // enable reek via bundler | |
} | |
}, | |
"ruby.format": "rubocop", // use rubocop for formatting | |
"files.associations": { | |
"*.html.erb": "html" | |
}, | |
"[html]": { | |
"editor.defaultFormatter": "vscode.html-language-features" | |
}, | |
"editor.formatOnSave": true, | |
"solargraph.autoformat": true, | |
"solargraph.diagnostics": true, | |
"solargraph.formatting": true, | |
"editor.tabSize": 2, | |
"editor.wordWrap": "on", | |
"editor.tabCompletion": "on", | |
"files.trimFinalNewlines": true, | |
"files.trimTrailingWhitespace": true, | |
"editor.renderWhitespace": "all" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment