Let’s make sure we can start VS Code from the terminal:
Command + Shift + P
Type Shell
Select Command : Install code in PATH
Extensions
Rails
JavaScript
Git
Elixir
Other stuff
Personal Settings
"editor.formatOnSave": true,
"editor.fontLigatures": true,
"editor.fontFamily": "FiraCode-Retina",
"editor.fontSize": 18,
"editor.renderIndentGuides": true,
"files.exclude": {
"**/.git": true,
"**/node_modules": true,
"**/bower_components": true,
"**/tmp": true,
"tmp/**": true,
"**/vendor": true,
"vendor": true,
".bundle": true,
".github": true,
".sass-cache": true,
"features/reports": true
},
"editor.tabSize": 2,
"prettier.singleQuote": true,
"workbench.colorTheme": "Monokai",
"window.zoomLevel": 0,
"editor.renderWhitespace": "boundary",
"editor.renderControlCharacters": true,
"ruby.lint": {
"rubocop": true,
"ruby": true,
"fasterer": true,
"reek": false,
"ruby-lint": false
},
"editor.quickSuggestions": {
"strings": true
},
"cucumberautocomplete.steps": [
"features/step_definitions/*.rb",
"features/step_definitions/**/*.rb",
"features/step_definitions/**/**/*.rb"
],
"cucumberautocomplete.syncfeatures": "features/*feature"
Some common exclusions for .solagraph.yml (can place it in the root of your project)
--- include: - "app/**/*.rb" - "lib/**/*.rb" - "engines/engine_name/app/**/*.rb" - "engines/engine_name/lib/**/*.rb" - "config/**/*.rb" exclude: - app/javascript/**/* - node_modules/**/** - spec/**/* - test/**/* - vendor/**/* - ".bundle/**/*" - .bundle/**/* - uploads/**/* - .bundle/**/* - .git/**/* - engines/engine_name/.bundle/**/* - engines/engine_name/vendor/**/* - coverage/**/* require: [] domains: [] reporters: - rubocop - require_not_found plugins: [] require_paths: [] max_files: 5000 plugins: - runtime