Dan2552/SublimeTextSwiftAutocomplete

Documentation view

Dan2552 opened this issue · 3 comments

Sublime Text has a popup view that:

Shows a popup displaying HTML content.

Specifically, there's a flag for this popup view to work with autocomplete:

sublime.COOPERATE_WITH_AUTO_COMPLETE. Causes the popup to display next to the auto complete menu

See https://www.sublimetext.com/docs/3/api_reference.html

this is partially done with the mouse-over popups, but I'm hoping it'll also be possible to show docs from the autosuggestions popup selections

I had originally thought this was already in but just not working for me. Maybe not?

In either case, e0e0e31 (from PR #26) implements this:

screen shot 2018-02-15 at 10 42 53 am

It's been a while so I might remember wrong what I meant, but I think when I made this issue what I had in my head was documentation showing alongside the autocomplete suggestions a bit like:

eclipse

The variable sublime.COOPERATE_WITH_AUTO_COMPLETE maybe sounds like it might do just that, but I never tried it out.