You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
File/folder synchronization issue in vscode and Java language server #1281
Some typical case for this issue: "Changing gradle files will confuse VS-Code; renaming folders will result in autocomplete not working as VS-Code does not reload the project.".
Hi Jinbo Wang (@testforstephen), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions to refresh the Java LS when project files change:
When renaming packages/folders or classes, use VS Code’s Java refactoring (F2 or Refactor → Rename Symbol) instead of manual explorer renames to keep JDT LS in sync (ref: Modifying class name and file name are out of sync #1287).
You can also reload the entire window via Developer: Reload Window (Ctrl+Shift+P) or restart the Java language server.
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!
Activity
github-actions commentedon Nov 4, 2025
Hi Jinbo Wang (@testforstephen), I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.
Suggestions to refresh the Java LS when project files change:
High-confidence references:
Improve first-time / new user experience redhat-developer/vscode-java#1672
Modifying class name and file name are out of sync #1287
Other references with low confidence
Editor content out of sync and report false compilation errors #1261
The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!