sublime text 3 hints as in NetBeans
Asked Answered
C

3

14

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

Caryophyllaceous answered 8/10, 2013 at 14:24 Comment(1)
No it's not currently possible. Keep in mind NetBeans is an IDE and ST is a text editor. The IDE has knowledge about the structure and dependencies of your project. Tool tips have been requested for ST, but they aren't yet implemented.Lucey
M
5

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.

Malvie answered 9/1, 2014 at 15:10 Comment(0)
Q
2

you can use "Intelli​Docs" plugin

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

press F2 key on the function

but not working in the popup

Quinary answered 19/12, 2014 at 5:49 Comment(0)
B
1

ya you can install AndyPhp package in sublime text 3.

Butternut answered 19/11, 2013 at 7:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.