Jump to diagnostic in existing view of file (instead of currently-focused view)? #7415
Unanswered
kalgynirae
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I usually work with two or more files open side-by-side. If I use the workspace diagnostic picker (
<space>D
) and choose a diagnostic whose location is in a file that is already open in a different split (not the currently-focused one), I wish that Helix would change focus and jump to the diagnostic in the existing split of that file. Instead, Helix changes the currently-focused split to show the file and jumps to the diagnostic there (meaning I now have two splits open with the same file).In case that's not clear, this is what I start with:
If I open the workspace diagnostic picker and choose a diagnostic in File A, I want to end up with this:
but I actually end up with this:
Is there a way to either
(a) tell Helix that I prefer to have only one split per file (so it should re-use existing ones when possible), or
(b) from the picker, explicitly choose to open the diagnostic in the existing split?
Beta Was this translation helpful? Give feedback.
All reactions