Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This does not work with many messages as below

```
[Error - 2:47:02 AM] Request textDocument/codeAction failed.
  Message: Request textDocument/codeAction failed with message: Cannot read properties of undefined (reading correctable)
  Code: -32603
```

It looks reported in r7kamura/vscode-ruby-light#30
  • Loading branch information
kachick committed Jan 17, 2023
1 parent 2a1b3d2 commit fbbed7d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"soutaro.steep-vscode",
"soutaro.rbs-syntax",
"dprint.dprint",
"rebornix.ruby",
"r7kamura.vscode-ruby-light",
"jnoortheen.nix-ide"
]
}
8 changes: 0 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
{
"editor.defaultFormatter": "dprint.dprint",
"editor.formatOnSave": true,
"ruby.useBundler": true,
"ruby.useLanguageServer": true,
"ruby.lint": {
"rubocop": {
"useBundler": true
}
},
"ruby.format": "rubocop",
"cSpell.words": [
"kwargs",
"Undocumentable",
Expand Down
10 changes: 0 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ $ bundle install || bundle update

Author is using vscode for development.

### Note - rubocop in vscode

For your information, the rubocop vscode integration shows wrong errors for Rakefile and ruby-ulid.gemspec as below

```text
The name of this source file (`Rakefile'`) should use snake_case.
```

`bundle exec rubocop` does not show this messsage. It looks fixed in https://github.com/rubyide/vscode-ruby/pull/647. However it is not released yet at 2022-05-26. (https://github.com/rubyide/vscode-ruby/commit/dc81c809c82003d26af9c4dc7c89fa8f8a26cbf5 "rebornix.ruby" maintainance is inactive now)

## Touch the development version with REPL

```console
Expand Down

0 comments on commit fbbed7d

Please sign in to comment.