Skip to content

Conversation

CsCherrYY
Copy link
Contributor

@CsCherrYY CsCherrYY commented Feb 22, 2023

requires eclipse-jdtls/eclipse.jdt.ls#2487

When auto-build is disabled, there will be no diagnostics from the references when modifying a public symbol manually (e.g., change method name from "test" to "test1"). It might lead to mistakes.

This PR will provide an info diagnostic and related quick fix to rename all the references when modifying a symbol name. The configuration java.refactoring.rename.references controls this. When it set to auto, this behavior will only happen when auto build is disabled.

demo:

renameReferneces.mp4

Signed-off-by: Shi Chen <chenshi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant