Skip to content
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

x/tools/gopls: 'fix all' code action for selected range #44814

Open
hyangah opened this issue Mar 5, 2021 · 0 comments
Open

x/tools/gopls: 'fix all' code action for selected range #44814

hyangah opened this issue Mar 5, 2021 · 0 comments

Comments

@hyangah
Copy link
Contributor

@hyangah hyangah commented Mar 5, 2021

This is a feature request. When working on typescript projects, I liked the 'fix all' code actions presented with other trivial code actions.

For example, consider this case:

Screen Shot 2021-03-05 at 11 57 02 AM

These are trivial ones and these quick fixes can be applicable on save if I had configured

        "editor.codeActionsOnSave": {
            "source.fixAll": true
        }

But, would be nice if I could select a region and trigger fix of all errors in the selected region.
Or alternatively, like typescript or eslint extensions, present the fixAll (for the entire file) option using code action.

@gopherbot gopherbot added this to the Unreleased milestone Mar 5, 2021
@stamblerre stamblerre removed this from the Unreleased milestone Mar 5, 2021
@stamblerre stamblerre added this to the gopls/v1.0.0 milestone Mar 5, 2021
@stamblerre stamblerre added this to To Do in gopls on-deck Mar 11, 2021
@stamblerre stamblerre removed this from To Do in gopls on-deck Apr 15, 2021
@stamblerre stamblerre removed this from the gopls/v1.0.0 milestone Apr 15, 2021
@stamblerre stamblerre added this to the gopls/unplanned milestone Apr 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants