Sublime Forum

Advanced custom function completion

#1

Hi!

I’m kinda new ST2 user so take it easy on me… But there’s a feature i’d like to have… As i’m a programmer myself (lack the experience of python tho…), i’m even willing to do it myself if someone guides me.

At the moment sublime nicely finds custom function from file(s) and auto-completes those in a nice box…
But when i have large PHP classes i’d also like to see which parameters (if any) does the function take.

So if my function looks like this
public function test($one, $two, $user) {}

i’d like the autocomplete to show me those $one, $two, $user vars also, so i’d know what to give to the function without actually going to the function itself.
This feature would also come very handy with language defined functions… like date(), preg_match… etc

With best.
Devil.

0 Likes

#2

The SublimeCodeIntel plugin is your best bet, but it’s presently quite difficult to get setup.

0 Likes