Skip to content

Conversation

@jvilk-stripe
Copy link

@jvilk-stripe jvilk-stripe commented Aug 4, 2022

This change makes the "Ruby: autocorrect by rubocop" command work even when Rubocop isn't the default formatter.

Before this change, if Rubocop is not the default formatter, running "Rubocop: autocorrect by rubocop" would
run the default formatter and not Rubocop.

Now, this command manually applies Rubocop's autocorrects to the current document.

We are encountering this bug at Stripe and would love it if this fix could be merged and a new version of the extension released. :)

…fault formatter.

Before this change, if Rubocop is not the default formatter, running "Rubocop: autocorrect by rubocop" would
run the default formatter and not Rubocop.

Now, this command manually applies the Rubocop autoformatter.
@LoranKloeze
Copy link

This issue is fixed in LoranKloeze#1 and published to the marketplace at https://marketplace.visualstudio.com/items?itemName=LoranKloeze.ruby-rubocop-revived. Thx for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants