question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

command 'ruby.rubocopAutocorrect' not found

See original GitHub issue

Ola, Looks like detected a bug with keybindings override. I getting “command ‘ruby.rubocopAutocorrect’ not found” warning when pressing shift+cmd+l.

Spotted on:

  • macOS High Sierra 10.13.2
  • VSCODE 1.19.3 (1.19.3) c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba 2018-01-25T10:20:43.015Z
  • ruby-rubocop 0.6.0

My keybindings.json :


[
{
  "key": "shift+cmd+l",
  "command": "ruby.rubocopAutocorrect",
  "when": "editorLangId == 'ruby'"
}
]

Regards, Dzmitry.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

19reactions
olivierbuffoncommented, Feb 27, 2018

@AlxGolubev The answer to your question is here => #63

{
"key": "ctrl+shift+r",
"command": "editor.action.formatDocument",
"when": "editorLangId == 'ruby'" 
}
0reactions
Petrov-Kirillcommented, Dec 24, 2021

thank you very much

Read more comments on GitHub >

github_iconTop Results From Across the Web

vscode( vscode-ruby + rubocop ) how to auto correct on save?
VS Code was throwing an error for my ruby.rubocop.executePath setting saying it wasn't executable, and removing the line appears to not ...
Read more >
ruby-rubocop - Visual Studio Marketplace
execute rubocop for current Ruby code. Installation. Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press enter.
Read more >
Auto-correct :: RuboCop Docs
This diagnostic is valid since the magic comment is indeed missing (thus Safe: true ), but the auto-correction is not; some string literals...
Read more >
vscode-ruby-rubocop - Bountysource
{ // If not specified searches for 'rubocop' executable available on PATH (default and ... rubocopAutocorrect' not found" warning when pressing shift+cmd+l.
Read more >
Linting and Auto-formatting Ruby Code With RuboCop
require not to require that specific gem in your code since it will only be used from the command line. gem 'rubocop', require:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found