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

Display popup with doc before select method etc. #107

Open
PixelT opened this issue Dec 8, 2015 · 10 comments
Open

Display popup with doc before select method etc. #107

PixelT opened this issue Dec 8, 2015 · 10 comments

Comments

@PixelT
Copy link

PixelT commented Dec 8, 2015

It will be nice to display hint before select the method / function / variable etc. from autocomplete list:

preview

This option can be combined with another idea which I request: #85

@marijnh
Copy link
Member

marijnh commented Dec 28, 2015

I do not understand what you are trying to suggest. What does 'hint' refer to?

@easyfrog
Copy link
Contributor

'hint' maybe the function's parameters.

@PixelT
Copy link
Author

PixelT commented Jan 20, 2016

@marijnh, I was thinking about something like this:

@marijnh
Copy link
Member

marijnh commented Jan 25, 2016

Yes, that'd be cool, and the information is available to do it. Anybody want to create an implementation?

@tansongyang
Copy link
Collaborator

For everyone's information, I tried investigating what it would take to implement this, and I think it requires the ability to detect what the currently selected autocomplete option is. Unfortunately, I wasn't able to find anything in the API, and I've yet to receive a response on the forum.

@easyfrog
Copy link
Contributor

easyfrog commented Feb 1, 2016

I use TernJS the simple one to this.
It can preview the parameters of function.
654

@PixelT
Copy link
Author

PixelT commented Feb 8, 2016

Visual Studio Code also have a nice solution for this (description display under the method):

@tansongyang
Copy link
Collaborator

I'm interested in the idea of specifying the parameter names, but the only potential issue with that is that Sublime Text's autocomplete dropdown has a hardcoded width according to the forum. Are people OK wiith that?

@PixelT
Copy link
Author

PixelT commented May 20, 2016

Maybe this feature can be easiest to implement, by using external sublimetext popup plugin? ( https://github.com/facelessuser/sublime-markdown-popups )

@PixelT
Copy link
Author

PixelT commented Oct 29, 2016

Topic up...
Maybe @facelessuser can help here?

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

No branches or pull requests

4 participants