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] Respect Soft Wrap with Jetbrains Usage and Authors Feature (Code Vision) #496

Open
stivens13 opened this issue Aug 8, 2023 · 1 comment
Labels

Comments

@stivens13
Copy link

Describe the bug
Recently, Jetbrains introduced new feature - Code Vision - that introduces clickable labels for usages and authors for each function. GitToolBox has a checkmark to respect Soft Wraps and it does. However, at function name line with Code Vision, GitToolBox blame text is being shifted by the length of Code Vision width, thus breaking Soft Wrap

To Reproduce
Steps to reproduce the behavior:

  1. Make sure Soft Wrap and Code Vision are enabled
  2. Go to any function name that has Usage/Authors label
  3. Notice horizontal scrollbar
  4. Scroll horizontally to the right
  5. Notice that Soft Wraps are broken

Expected behavior
GitToolBox Blame inline should wrap at the edge of editor, respecting Soft Wrap

Plugin version
500.0.13+213 - Paid Version

IDE version
GoLand 2023.2
Build #GO-232.8660.185, built on July 26, 2023
Runtime version: 17.0.7+7-b1000.6 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.4.1

Screenshots
If applicable, add screenshots to help explain your problem.
image
Screenshot depicts the described problem. White vertical line represents current editor width - where Soft Wrap supposed to occur, but doesn't . Notice that Soft Wrap itself applies to code, but GitToolBox Blame text forces horizontal scroll to be enabled

@zielu
Copy link
Owner

zielu commented Aug 11, 2023

Hi, I was going to revisit blame code, so I'll look into it.

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

No branches or pull requests

2 participants