Intellisense
To use VSCode go to
/peek definition
/symbol
, you have to set ruby.intellisense
.
Valid options are rubyLocate
and false
. Default option is false
, so set rubyLocate
.
{
...
"ruby.intellisense": "rubyLocate"
}
Now, you can use Go to Symbols
and Go to Definition
.
Lint
You can also use ruby -wc
syntax check as a lint(By default no linters are turned on).
{
...
"ruby.lint": {
"ruby": true
}
}
If you are unicode user, set unicode
.
{
...
"ruby.lint": {
"ruby": { "unicode": true }
}
}