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
This behaviour is more then a year old, but it often bugs me so hard that I thought it's time for a report.
It just happened again on a really large file where I noticed it way too late.
Ok, when using try/catch the whole document gets reformatted:
before:
after:
Environment
Operating System: OSX
JDK version: OpenJDK 11
Visual Studio Code version: latest
Java extension version: latest
The text was updated successfully, but these errors were encountered:
I just noticed, when you type `var` and use the "Change type of '...' to
'...'" then this reformats happens as well.
It is also really aggressive with comments.
Any updates on this issue? I noticed that this happens for any source action in VSCode. Today I tried to automatically add getter setter for a particular field and it reformatted the whole class.
However, the source action and formatting are happening in 2 separate stages. I was able to undo the formatting and keep the source action result.
This behaviour is more then a year old, but it often bugs me so hard that I thought it's time for a report.
It just happened again on a really large file where I noticed it way too late.
Ok, when using try/catch the whole document gets reformatted:
before:

after:

Environment
The text was updated successfully, but these errors were encountered: