-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto_correct on save #43
Comments
Hi! Currently the plugin does not have this functionality, but it would be a nice addition to it 👍 |
👍 |
2 similar comments
👍 |
+1 |
Any news on this? It's a must have feature |
add this to your sublime user key bindings. { "keys": ["super+shift+s"], "command": "rubocop_auto_correct" } doesn't run on normal save, only shift+ version |
@amazing-jay Funny you post here today, I was looking at this issue again earlier this morning, 5 years after my initial post. I found this fork that adds the "auto-correct on save" feature: pabla@513c130 I edited the plugin file manually and it works nicely. |
Hey,
I'm not sure it's implemented but would it be possible to auto correct the current file when saving, just like other plugins do (CodeFormatter etc)? It works well by using the command palette ("Rubocop: auto correct current file") but I'd like to do it automatically when saving. I didn't find what to add in the settings file to do so, am I missing something?
Here's my settings file:
(I still use SublimeLinter for linting).
Cheers
The text was updated successfully, but these errors were encountered: