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

Moving tooltips #197

Closed
ncannasse opened this issue Nov 27, 2017 · 8 comments
Closed

Moving tooltips #197

ncannasse opened this issue Nov 27, 2017 · 8 comments

Comments

@ncannasse
Copy link
Member

When displaying completion arguments, the tooltip moves as you type which I think is a very unique behavior in IDE world (ie disturbing). I'm not sure if it's vshaxe behavior or vscode default but there should be a way to have fixed tooltips instead.

@ncannasse
Copy link
Member Author

More remarks for the tooltip:

  • positioning : having the tooltip under the cursor is much better than over since you usually want to read you code / variables before and not after.

  • documentation : documentation should be take like 1s without typing to show, or be displayed by pressing a special key, because big documentation takes way more space and prevent from correctly reading the arguments.

@Gama11
Copy link
Member

Gama11 commented Nov 27, 2017

vshaxe doesn't / can't do anything here. A related VSCode issue: microsoft/vscode#33752

@Gama11 Gama11 closed this as completed Nov 27, 2017
@ncannasse
Copy link
Member Author

Could we get an option in vshaxe to disable documentation ? this would allow to trim down significantly the tooltip size.

@Gama11
Copy link
Member

Gama11 commented Nov 27, 2017

I guess that would be possible, yeah. Although it's something that would ideally be a global VSCode setting, not specific to a particular language.

@Gama11 Gama11 reopened this Nov 27, 2017
@ncannasse
Copy link
Member Author

In an ideal world VSCode already supports everything we need. But I think it's better to be pragmatic and do what is possible in vshaxe, including sometimes workarounds, until vscode adds proper support for it.

@Gama11
Copy link
Member

Gama11 commented Mar 23, 2018

To clarify, which tooltips did you mean exactly here? Because the ones from field completion already have a button to expand / collapse documentation, including a shortcut:

@ncannasse
Copy link
Member Author

ncannasse commented Mar 23, 2018 via email

@Gama11 Gama11 closed this as completed in f3c9729 May 20, 2018
@Gama11
Copy link
Member

Gama11 commented May 20, 2018

Starting with the next release, you can disable documentation in those popups with:

"haxe.enableSignatureHelpDocumentation": false

With docs enabled:

With docs disabled:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants