Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sublime text 3 hints as in NetBeans

is there any extension that provide hints (autocomplete) in Sublime Text 3 as it in NetBeans? Not just php functions but all object methods, attributes and so on. Basicly it is usefull when you use OOP, frameworks etc.

NetBeans X SublimeText hints

like image 855
Vojtech Lacina Avatar asked Oct 08 '13 14:10

Vojtech Lacina


2 Answers

You should take a look at SublimeCodeIntel. Quite nice, and works not only with PHP.

You can install it via Package Control. The GitHub repository of the project also tells you how to install, if not using Package Control. (I happened to have bugs with the package control version, so I also installed without package control, but first try that, my friends didn't have my issue.)

Keep in mind, that Sublime does not have an API that would make possible the same user experience. With this extension you'll get lists like the autocomplete. These lists can also contain PHPDoc, but not in a separate tooltip window, like in Netbeans. IMHO it still is very-very useful, and it might satisfy you.

like image 154
Tamás Barta Avatar answered Oct 24 '22 03:10

Tamás Barta


you can use "Intelli​Docs" plugin

https://sublime.wbond.net/packages/IntelliDocs

press F2 key on the function

but not working in the popup

like image 2
Orange Wang Avatar answered Oct 24 '22 01:10

Orange Wang