Open PixelT opened 8 years ago
I do not understand what you are trying to suggest. What does 'hint' refer to?
'hint' maybe the function's parameters.
@marijnh, I was thinking about something like this:
Yes, that'd be cool, and the information is available to do it. Anybody want to create an implementation?
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.
I use TernJS the simple one to this. It can preview the parameters of function.
Visual Studio Code also have a nice solution for this (description display under the method):
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?
Maybe this feature can be easiest to implement, by using external sublimetext popup plugin? ( https://github.com/facelessuser/sublime-markdown-popups )
Topic up... Maybe @facelessuser can help here?
It will be nice to display hint before select the method / function / variable etc. from autocomplete list:
This option can be combined with another idea which I request: #85