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
[Formatting Preview] After format setting changes, the code actions like quick fix does not pick the new setting #641
Hi Sheng Chen (@jdneo), 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.
Solution
After changing the Before import declarations. setting in Java Formatter Settings, reload the window (Developer: Reload Window) or restart VS Code. The formatter profile is only reloaded at startup, so code actions (e.g. Quick Fix) won’t pick up changes in real time.
Track or upvote the upstream issue where dynamic formatter-profile updates aren’t applied until restart:
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 Oct 31, 2025
Hi Sheng Chen (@jdneo), 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.
Solution
Before import declarations.setting in Java Formatter Settings, reload the window (Developer: Reload Window) or restart VS Code. The formatter profile is only reloaded at startup, so code actions (e.g. Quick Fix) won’t pick up changes in real time.Duplicate Issue
blank_lines_before_importschanges aren’t applied without a reload.Other references with low confidence
Issue: formatting options for blank lines between import groups aren’t enforced by organizeImports.
Workaround: enable
editor.formatOnSave&java.saveActions.organizeImports.blank lines between import groups is ignored redhat-developer/vscode-java#2980 (comment)
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!