No longer formatting files
See original GitHub issueIn Rubocop 0.87.0 the behaviour of autocorrect (-a
) was changed (https://github.com/rubocop-hq/rubocop/issues/8156).
I assume this extension is using -a
since it has stopped formatting my .rb
files with the frozen_string_literal
comment.
To get the same formatting behaviour as before the flag needs to now be -A
(more info).
I assume this issue is the same as https://github.com/misogi/vscode-ruby-rubocop/issues/120, https://github.com/misogi/vscode-ruby-rubocop/issues/121.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Word document formatting is not retained ... - Microsoft Support
Word document formatting is not retained when document is inserted as a file - Microsoft Support.
Read more >Format on Save (prettier) stopped working with latest update
My biggest problem is after setting a defaultFormatter, anything not formatted with Prettier (Go, Terraform, etc) throws "prettier can't format ...
Read more >Visual Studio formatting no longer honors indent_size for ...
After upgrading to latest 16.3.2 I'm unable to change default indent size for .js javascript files using .editorconfig file. I could swear it...
Read more >Prettier not formatting LESS files - visual studio code
I suddenly have a problem where prettier can't format .less files. I get this error message Extension 'Prettier - Code formatter' is ...
Read more >Code formatting | CLion Documentation - JetBrains
You can reformat a part of code, the whole file, group of files, ... Switch to the Formatter tab and in the Do...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have the same problem. Extension reports an error during autocorrection, but I found no log to trace back and debug.
Annoyingly RuboCop 0.86 suffers from https://github.com/rubocop-hq/rubocop/issues/8713 :