Sublime Forum

PHP Docblock Reader / Code Sniffer / Tooltip like Aptana?

#1

Thanks in advance to anyone who could shed some light on this.

I’ve been using Sublime Text 2 for a while after using Aptana Studio 3 as my primary IDE for PHP development and there is one thing I’m really missing. Say I have a project with an MVC architecture and I am working in a controller file. In Aptana I would get tooltips that would ‘code sniff’ the documentation in my model files.

For example when I go to use a function such as $model->add() in Aptana I could see what parameters the function would have and info from the documentation in that model file for the add function in a little tooltip. I have included a quick screenshot below of what I’m talking about.

Does anyone know of a package I could install to get similar functionality – it’s a nice feature to have so I don’t have to go look at the model file to see what a function does or parameters it’s supposed to take!

Cheers

0 Likes