I'm using PDT, but want to switch to any lightweit editor. First I want to try Textmate. Eclipse has several useful features:
- class outlile to get list of properties and methods (with signature) to navigate;
- type hierarchy, it is like class outlile but it shows full inheritance tree;
- autocompletion for custom classes names, methods etc. (not only for standard functions);
- go to declaration feature
Does Textmate provide this features, or is there bundles to get such functional?
I know it can be frightening — it was for me — but you can code very efficiently with Vim. It's definetly not a turnkey solution but if you have some time between projects it's worth it.
- Taglist and tagbar are plugins that provide code navigation.
- There are a number of solutions for autocompletion.
- you can go to declaration with
gd
in a single file or with exuberant ctags and ctrl-]
in more complex situations.
You can get auto completion in TextMate for PHP using the tm-completion bundle. In doesn't work anything as good as what you might see in other IDEs like Eclipse or Visual Studio, xCode. But is works.
Standard PHP completion is supported. See the PHP Bundle -> Support -> Help
TextMate has a 30 day trial, so give it a go and see how it is for you.
I use Coda, which has class outline and autocompletion for native PHP functions, but not custom classes.
no, i don't think there's any of these - Textmate is a text editor, not a full-blown IDE.
default php bundle provides autocompletion and code hints... but only for built-in functions.
"go to symbol" command brings up class and functions outline... but only for the current file.
For quickly browsing to classes, functions and methods in a file, there is the TmCodeBrowser plugin. It uses Exuberant CTags to index the various code types.