ternjs / tern_for_sublime

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

Argument completion feature #66

Closed MANGO1234 closed 9 years ago

MANGO1234 commented 9 years ago

Parse the type of each function for the list of arguments and insert it into the auto completion list.

b1 b2

Functions with optional arguments are handled by inserting completions with less arguments into the auto completion list. Typing in a number choose the amount of arguments for the completion. c1 c2 c3

tern_argument_completion is the option to turn it on/off. By default it's false.

marijnh commented 9 years ago

Very nice! Merged as 3bfe80e