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

Bug: Formatter causing some lines get erased #2107

Open
ericsia opened this issue Sep 11, 2021 · 0 comments
Open

Bug: Formatter causing some lines get erased #2107

ericsia opened this issue Sep 11, 2021 · 0 comments

Comments

@ericsia
Copy link

ericsia commented Sep 11, 2021

I love to use VSC Java plugin but I had so much pain working with java now.
The reason I like vscode now only for the ui but this plugin is very customisable like a way to line up curly bracket.
Now the "Format Document" is glitchy, it somehow erased some part of the code when I indent it.
I'm not sure if it's related to any tokens because when this happens, if I didn't remember wrongly, it caused the semantic highlight changed too. But then the semantic tokens bug were patched but this issue persist (still there).

Environment
Operating System: Windows 10
JDK version: 14
Visual Studio Code version: 1.60.0 before update also the same
Java extension version: -
Steps To Reproduce
Just edit the code and with comments, on performing indentation, it will cause glitches
This happens when I start typing code for long time.
semantic token

I don't know if this info help, since this plugin doesn't have built-in option to line up braces plus the default switch-case indentation is weird, so I use this profile:
configuration.zip

Could it be this profile is causing conflict? I'd be glad to provide more information if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants