ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
803 stars 54 forks source link

Add some style to the HTML tooltip #73

Closed atabel closed 9 years ago

atabel commented 9 years ago

I have extracted the arguments-hint rendering logic to 3 different classes, one for each strategy: status, panel and tooltip.

I have also added some html/style to the tooltip to distinguish argument names and types and highlight the current function argument:

style tooltip

marijnh commented 9 years ago

Using ST build 3083, I'm not seeing these styles. Am I doing something wrong?

atabel commented 9 years ago

I'm using the last version of sublime 3088 in Linux (Debian). Everything seems to work fine, the styles look like you can see in the attached screenshot.

marijnh commented 9 years ago

I wasn't seeing the styles because I screwed up checking out the proper commit. I can see them now. Looks good. Merged as be8eb96