Sublime Forum

Autocomplete PHP

#1

Hi everybody,

I am new to ST and I have recently bought a new license for ST2 cause I really love this editor.
Anyway I was wondering how to configure it in order access (with autocomplete popup) methods and properties of the class handler I am typing…

Examp:

I have a class with couple of methods ( hello, bye )

when I type “$this” within the class I would expect to get a popup with ->hello() | ->bye() ]

and, if inside hello I have a call to another class like “return new my_other_class” which contains setName($name), I would expect to get another popup with ->setName($name) ]

I guess it is possible but I’d like to know which plugin I have to install and how to configure it.

I’m working on Mac OS X 10.9

Thanks in advance

0 Likes

#2

I guess the answer was in SublimeCodeIntel module.
Amazing editor!

Absolutely my favourite ever!

0 Likes