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

Show quick fix to rename references for modifying symbol name manually #2487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

CsCherrYY
Copy link
Contributor

related to redhat-developer/vscode-java#2959, more details and demo video can be found there.

Will add test cases later.

@CsCherrYY
Copy link
Contributor Author

Tested in spring-petclinic Owner.java, some performance profiling result:

Most calculation of this change presents in method provideRenameReferencesMarkers()
When most changes focus on changing method names:
image

When most changes focus on editing code:
image

@CsCherrYY
Copy link
Contributor Author

CsCherrYY commented Feb 24, 2023

tested in a java file with ~200 public fields and focus more on editing member names:

image

tested in a java file with ~150 public methods and focus on both editing the method name and method content

image

The performance recording shows the performance is acceptable.

@CsCherrYY CsCherrYY marked this pull request as ready for review February 24, 2023 07:21
@snjeza
Copy link
Contributor

snjeza commented Feb 24, 2023

test this please

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