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

Completion details should have syntax highlighting #50813

Closed
jmagaram opened this issue May 30, 2018 · 4 comments
Closed

Completion details should have syntax highlighting #50813

jmagaram opened this issue May 30, 2018 · 4 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-parameter-hints Function, method and class parameter hint widget ux User experience issues
Milestone

Comments

@jmagaram
Copy link

This is a big annoyance I've just come to accept in Visual Studio and VS Code and I suspect many other developers have too. The pop-up windows that explain function arguments and various other situations are very difficult to parse because they just wrap text wherever and no keywords are highlighted. In other words, the pop-up windows show code in a way that we would never accept in our source files. Here is an example showing what is expected for javascript array reduce. From this pop-up it is extremely difficult to tell how many arguments the function takes and of what kind. I'd really like to see each argument on its own line. If an argument is a function, then show each of the arguments to that function indented on its own line. Maybe have some highlighting too. I'm not sure what the right solution is, but I do know the current behavior makes it really tough to figure out what is going on.

@vscodebot vscodebot bot added editor editor-contrib Editor collection of extras labels May 30, 2018
@octref octref added feature-request Request for new features or functionality and removed editor-contrib Editor collection of extras labels May 30, 2018
@octref
Copy link
Contributor

octref commented May 30, 2018

Here is the image

vscodetooltip

I also found this a very lacking experience.

@alexdima alexdima added the editor-parameter-hints Function, method and class parameter hint widget label May 31, 2018
@alexdima alexdima assigned joaomoreno and unassigned alexdima May 31, 2018
@joaomoreno joaomoreno added this to the Backlog milestone May 31, 2018
@joaomoreno joaomoreno removed their assignment Sep 19, 2018
@ramya-rao-a ramya-rao-a added the ux User experience issues label Oct 15, 2018
@mjbvz mjbvz self-assigned this Oct 8, 2019
@jrieken jrieken assigned octref and unassigned mjbvz Oct 8, 2019
@octref octref changed the title Structured tooltips for intellisense Completion details should have syntax highlighting Oct 17, 2019
@octref
Copy link
Contributor

octref commented Oct 17, 2019

The issue is detail is just a string, meant for less-prominent info. We might allow string | MarkupContent in the future for detail to have code blocks.

@KamasamaK
Copy link

Also see #34188

@octref
Copy link
Contributor

octref commented Oct 17, 2019

Closing as duplicate of #34188.

@octref octref closed this as completed Oct 17, 2019
@octref octref added *duplicate Issue identified as a duplicate of another issue(s) and removed feature-request Request for new features or functionality labels Oct 17, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-parameter-hints Function, method and class parameter hint widget ux User experience issues
Projects
None yet
Development

No branches or pull requests

7 participants