Skip to content

Reorder source actions/refactorings #2112

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

Closed
CsCherrYY opened this issue Jun 1, 2022 · 2 comments
Closed

Reorder source actions/refactorings #2112

CsCherrYY opened this issue Jun 1, 2022 · 2 comments

Comments

@CsCherrYY
Copy link
Contributor

CsCherrYY commented Jun 1, 2022

Currently the available quick assists, source actions and refactorings are ordered by a static sequence and it's not so good as many users expected. There is a WIP PR: #2109

Order proposal:

Source Actions

Organize imports
Generate Getters
Generate Setters
Generate Getters and Setters
Generate Constructors
Generate hashCode() and equals()
Generate toString()
Override/Implement Methods
Delegate Methods
Change modifiers to final where possible
Generate Tests

Refactoring

Extract Variable
Extract Constant
Extract Field
Introduce Parameter
Extract Method
Inline Method

@CsCherrYY CsCherrYY self-assigned this Jun 1, 2022
@testforstephen
Copy link
Contributor

Source Action list:
I favor "Organize imports" as the first menu.

@CsCherrYY
Copy link
Contributor Author

see microsoft/vscode-java-test#1428 for reordering "Generate Tests..."

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

No branches or pull requests

3 participants