sublime_rubocop
sublime_rubocop copied to clipboard
"Auto correct current file" does nothing
Please add some general information about your environment:
- Operating System - macOS 12.4
- Sublime Text version - 4126
- Details about your config e.g. do you use rbenv, rvm or your_own_command to run rubocop? rvm
Steps to reproduce:
The command "Check current file" works ok, but "Auto correct current file" does nothing.
# .rubocop.yml
require:
- rubocop-rails
- rubocop-rspec
- standard
inherit_gem:
standard: config/base.yml
Running rubocop -a
in the console works ok.
@ocarreterom can you please check out this PR https://github.com/pderichs/sublime_rubocop/pull/70 It will display the output from the rubocop command in the console if the command fails. This will give you more information about what is going wrong.
Hi @dan-corneanu , I am currently using LSP for autocorrect. I have tested the PR and it works fine. Maybe I had a wrong configuration or something like that…
You can close the issue if it is solved.