Sublime PHP method signature and description on autocomplete
Asked Answered
G

2

6

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.

Grimy answered 28/1, 2013 at 17:44 Comment(2)
Which plugins do you tried?Latashialatch
please see below the plugin i tried. i found this to work in JS but not PHP.Grimy
L
7

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.

Latashialatch answered 29/1, 2013 at 6:58 Comment(3)
@DannyValariola I thought you have a registered licence :-/Latashialatch
I will have...once i have the feature i needGrimy
This doesn't work on autocomplete tho. Sure, you can go to definition, but if you type Class:: and expect the autocomplete to only show definitions inside Class, that won't work (at least not here)Ghetto
K
3

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

Kellum answered 28/1, 2013 at 17:56 Comment(2)
i tried almost every plugin available, also tried ZEN, INTEL, and much more....none does the trickGrimy
ctrl+r is for symbol search, keep in mind that i'm in Yii framework and not all method reside in the same file. Also there is no description, it's just gotoGrimy

© 2022 - 2024 — McMap. All rights reserved.