Hi,
I’m wondering if it’s possible to develop a simple function tooltip plugin for Sublime Text. Random example I pulled from the internet:
The reason I’m asking is because although Sublime indexes symbol definitions by file and location, it does not seem to store the definitions themselves. The standard goto definition/reference functionality and popups as defined in symbol.py similarly work by generating links to the files from the locations, which are followed when the user executes the command. The plugin I am considering would (like VS) display the pop-ups as I type in the symbols; obviously, I wouldn’t want Sublime to rapidly open the file(s), get the definition(s) – keep in mind function overloading – and then close, as that sounds like it would be a terrible user experience.
Am I missing something? Any ideas on how I should proceed?
EDIT: One thing I should clear up, because it’s not obvious from the original post: I’m only interested in doing this using the definitions Sublime already generates by default.