Autocomplete text and class for PHP project

I use PDT, but want to switch to any lightweit editor. First I want to try Textmate. Eclipse has several useful features:

  • outlile class for getting a list of properties and methods (with signature) for navigation;
  • type hierarchy, it's like an outlile class, but it shows a complete inheritance tree;
  • autocomplete for names of custom classes, methods, etc. (not only for standard functions);
  • go to declaration function

Does Textmate provide these functions or are there packages to get this functionality?

+2
source share
5 answers

I know this can be intimidating - it was for me, but you can code Vim very efficiently. This is definitely not a turnkey solution, but if you have time between projects, it's worth it.

  • Taglist and tagbar are plugins that provide code.
  • There are many auto-complete solutions .
  • you can go to the declaration with gd in a single file or with wild ctags and ctrl-] in more complex situations.
+1
source

You can get automatic completion in TextMate for PHP with tm-completion . In does not work as well as what you can see in other IDEs such as Eclipse or Visual Studio, xCode. But it works.

The standard PHP add-on is supported. See PHP Bundle Help β†’ Support β†’

+2
source

TextMate has a 30-day trial, so let her know how it is for you.

I use Coda, which has class outlines and autocomplete for native PHP functions, but not for custom classes.

0
source

no, I don’t think there are any of them - Textmate - a text editor, and not a full-blown development environment.

php package by default provides autocomplete and code hints ... but only for built-in functions.

Command

"go to symbol" invokes a representation of the class and functions ... but only for the current file.

0
source

For quick viewing of classes, functions and methods in the file there is a TmCodeBrowser plugin. It uses Exuberant CTags to index various types of code.

0
source

Source: https://habr.com/ru/post/1309673/


All Articles