Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime PHP method signature and description on autocomplete

I really like sublime but I have 1 major issue stopping me from migrating from Netbeans:

I need sublime autocomplete to show function description and method signature (i'm working with Yii framework and I need to know exactly what each function does, returns and passed arguments types).

I tried installing several plugins but none worked...if there is such a way then i'm missing it.

like image 567
Danny Valariola Avatar asked Jan 28 '13 17:01

Danny Valariola


2 Answers

You are just in time for Sublime Text 3 !

Symbol Indexing. Sublime Text now scans the files in your project, and builds an index of which files contain which symbols. This backs the new features Goto Definition and Goto Symbol in Project, both of which are available from the Goto menu. Goto Definition takes you to the definition of the symbol under the caret, while Goto Symbol in Project prompts you to select a symbol via fuzzy matching, and then takes you to the definition of that symbol.

like image 96
j0k Avatar answered Nov 18 '22 19:11

j0k


you might want to try the code intel plugin

available here

otherwise you could use zencoding see here for tips

alternatively alt + click should do it!

here's a relatively new plugin

like image 3
Rachel Gallen Avatar answered Nov 18 '22 20:11

Rachel Gallen