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

LSP contextual method help and completion dialogs overlap, former obscuring the latter #3545

Closed
aral opened this issue Aug 25, 2022 · 4 comments
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug

Comments

@aral
Copy link
Contributor

aral commented Aug 25, 2022

Summary

image

Encountered in a JavaScript project: the LSP contextual method help and auto-completion dialogs overlap. The former covers the latter, making it impossible to see the full list of completions.

(The method help is mostly getting in my way and keeps popping up again even after pressing ctrl-c sometimes as I continue to enter arguments into a method call.)

Reproduction Steps

Please see screenshot.

Workaround

Press ctrlc to hide the method help dialog.

Helix log

No response

Platform

Linux (Fedora Silverblue 36)

Terminal Emulator

Black Box

Helix Version

helix 22.05 (e4c9d40)

@aral aral added the C-bug Category: This is a bug label Aug 25, 2022
@aral aral changed the title Contextual method help and completion dialogs overlap, former obscuring the latter LSP contextual method help and completion dialogs overlap, former obscuring the latter Aug 25, 2022
@the-mikedavis the-mikedavis added the A-helix-term Area: Helix term improvements label Aug 25, 2022
@lesleyrs
Copy link
Contributor

lesleyrs commented Nov 30, 2022

I'm having the same problem on windows 10, windows terminal, helix 22.08.1 (5b73c8c).

https://i.imgur.com/sD2eiSQ.png

@lesleyrs
Copy link
Contributor

lesleyrs commented Dec 2, 2022

z-z or z-b shortcut for changing view avoids this problem.

@Taywee
Copy link
Contributor

Taywee commented Dec 16, 2022

Sometimes I can move the view around to get vision on the completion, but other times, I'm too close to the top of the buffer. In many cases, I can't even see whether there is a completion dialog until I hit Ctrl-n to start looking through them.

This is especially frustrating when passing a Rust closure into a function, because the outer function's help is always shown, sometimes even covering the code that I am actively writing.

Ctrl-C can help by dropping the contextual help, though. I wasn't aware of that.

@kirawi
Copy link
Member

kirawi commented Sep 2, 2023

This was a duplicate issue which was solved by #6488

@kirawi kirawi closed this as completed Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-helix-term Area: Helix term improvements C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

5 participants