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

Allow parameter hints and completion documentation to appear in a docked panel instead of floating over the code #149270

Open
DanTup opened this issue May 11, 2022 · 12 comments
Assignees
Labels
editor-parameter-hints Function, method and class parameter hint widget feature-request Request for new features or functionality suggest IntelliSense, Auto Complete
Milestone

Comments

@DanTup
Copy link
Contributor

DanTup commented May 11, 2022

Parameter hints and the documentation popup in code completion can be useful, but sometimes they completely obscure the code being typed:

Screenshot 2022-05-11 at 16 52 13

It would be nice if these could be shown in an alternative location (such as a dockable panel that can be put in a sidebar or along the bottom) to avoid covering so much of the code.

I'm aware both can quickly be toggled with their respective shortcuts (and that I can control whether they open automatically), but those aren't perfect solutions - sometimes you're trying to compare the parameters you've written to the signature to understand what's wrong, and having to flick them on and off is less convenient than being able to see both on the screen at the same time.

@gjsjohnmurray
Copy link
Contributor

See #51253 (comment)

@DanTup
Copy link
Contributor Author

DanTup commented May 11, 2022

@gjsjohnmurray that's good to know, although it doesn't seem like that would be language-agnostic. It doesn't seem like an ideal solution for every language to implement the same thing here in the same way (or not, and then give users inconsistent experiences for the same functionality/data)?

@gjsjohnmurray
Copy link
Contributor

@DanTup the extension README says "Language independent. Works in any language that supports hovers."

@DanTup
Copy link
Contributor Author

DanTup commented May 11, 2022

Ah sorry, didn't see the extension - only the APIs. I wonder whether it'll be able to handle the documentation window noted above though - for hovers/param hints you could just turn them off and the extension can invoke those commands itself. But for the documentation popup on completions, the extension would need to know which completion item is selected, and I can't see any APIs that would allow this?

@jrieken jrieken added this to the Backlog Candidates milestone May 12, 2022
@jrieken jrieken added feature-request Request for new features or functionality suggest IntelliSense, Auto Complete editor-parameter-hints Function, method and class parameter hint widget labels May 12, 2022
@jrieken jrieken removed their assignment May 12, 2022
@vscodenpa
Copy link

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@oldmansutton
Copy link

oldmansutton commented May 13, 2022

Not having the code suggestions pop up over the code you're working on would be amazing. I wish that it was

A) More obvious how to upvote this
B) That feature requests and this whole process even existed. Never knew it did before today, despite using VSCode for years. I feel like this is a much desired request, but most people will never even knew it existed.

@oldmansutton
Copy link

@gjsjohnmurray Which is great if you're in the habit of actually visiting GitHub for VSCode (I'm not), but would be better if there was something actually IN VSCode to point you here. Like a "Feature Request Voting" menu item somewhere or something.

@vscodenpa
Copy link

🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vscodenpa vscodenpa modified the milestones: Backlog Candidates, Backlog Jun 7, 2022
@byehack
Copy link

byehack commented Sep 9, 2022

in-editor panel would be good for this issue.
somethings like peek view but compact.

@Tyriar Tyriar self-assigned this Dec 13, 2022
@Tyriar
Copy link
Member

Tyriar commented Dec 13, 2023

Closely related to #33752, trying to solve the same problem

@organizedslop
Copy link

Any update on this? I'm really eager for this to be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-parameter-hints Function, method and class parameter hint widget feature-request Request for new features or functionality suggest IntelliSense, Auto Complete
Projects
None yet
Development

No branches or pull requests

8 participants