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

When line wrapping is enabled, editor code alignment lines are messed up. #257

Closed
zhouxinghong opened this issue Dec 13, 2022 · 5 comments
Closed
Assignees
Labels
bug Something isn't working gutter upstream ux

Comments

@zhouxinghong
Copy link

Type: Bug

When line wrapping is enabled, editor code alignment lines are messed up.
vscode:1.74
Spring Boot Dashboard: 0.9.0
jdk: 11
Windows10: 2022H2

Extension version: 0.9.0
VS Code version: Code 1.74.0 (5235c6bb189b60b01b1f49062f4ffa42384f8c91, 2022-12-05T16:38:16.075Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

2022-12-13_094047-2

2022-12-13_093614

@Eskibear Eskibear added the bug Something isn't working label Dec 13, 2022
@Eskibear
Copy link
Member

turn it off via setting spring.dashboard.enableGutter to unblock yourself.

@zhouxinghong
Copy link
Author

Now that it is confirmed to be a bug, please fix it and publish it as soon as possible, thank you!
This setting spring.dashboard.enableGutter should be ignored.

@zhouxinghong
Copy link
Author

turn it off via setting spring.dashboard.enableGutter to unblock yourself.

Now that it is confirmed to be a bug, please fix it and publish it as soon as possible, thank you!
This setting spring.dashboard.enableGutter should be ignored.

@Eskibear
Copy link
Member

We decorate each line with either a "gutter icon" or a "blank placeholder" at the beginning, using vscode's API. The vertical lines are rendered by vscode itself. So when you turn line wrapping on, without the "placeholder", the vertical lines are not aligned.
AFAIK, I cannot fix it with currently available APIs. I marked it as upstream and this should be discussed in vscode's repo.

@Eskibear
Copy link
Member

should be fixed by #291 . Try it in tomorrow's pre-release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gutter upstream ux
Projects
None yet
Development

No branches or pull requests

2 participants