Skip to content

Commit

Permalink
Add minimum VSCode setup for the project (#1995)
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored Feb 6, 2023
1 parent 8b7267e commit 01b4e0f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"recommendations": [
"shopify.ruby-lsp",
"koichisasada.vscode-rdbg"
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"[ruby]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
// ruby-lsp's formatOnSave uses syntax-tree's rules, which may not be the rules we want
"editor.formatOnSave": false,
},
}
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"
git_source(:github) { |name| "https://github.com/#{name}.git" }

gem "ruby-lsp", require: false

0 comments on commit 01b4e0f

Please sign in to comment.