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

Move cursor to popup panel #13200

Open
Dreaming-Codes opened this issue Mar 26, 2025 · 1 comment
Open

Move cursor to popup panel #13200

Dreaming-Codes opened this issue Mar 26, 2025 · 1 comment
Labels
C-enhancement Category: Improvements

Comments

@Dreaming-Codes
Copy link

As mentioned in this discussion, it would be great to have a way to jump directly into the popup panel.

There are many situations where I’ve found the need to copy information or open a link from the LSP popup or similar contexts. Additionally, it would be helpful to quickly navigate to the definitions of function parameters displayed in the popup. While it’s often possible to achieve this by first jumping to the function’s definition and then locating the parameter’s definition within the function signature, there are cases where this process isn’t as straightforward. For example, in Rust, if a macro is used to define a function, directly accessing the parameter definitions may not be possible. This highlights a solid use case for implementing such a feature.

@Dreaming-Codes Dreaming-Codes added the C-enhancement Category: Improvements label Mar 26, 2025
@nik-rev
Copy link
Contributor

nik-rev commented Mar 26, 2025

I have implemented this a while ago in my PR feat: new command to open hover documentation in a new buffer instead of a popup by nik-rev · Pull Request #12208 · helix-editor/helix

which just adds a keybinding to dump this information into a buffer. Way simpler but it works quite well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants