Custom class auto-completion and PHP functions in a TextMate project

Is there a kit that completes my custom classes and functions in a TextMate project?

How are code hints with basic PHP functions?

+4
source share
3 answers

However, you can get automatic completion for custom classes. See My Answer to This Question: Text Autocomplete and Class Outline for a PHP Project

+1
source

As far as I know (and tried to find out in the last couple of hours), there is no way to work with code that complements your own PHP classes and functions in TextMate.

On the side: the PHP code completion package, linked as an answer to this question, is completely outdated. You must use the official PHP package from http://github.com/textmate . With this package, you can at least complete the PHP built-in functions, display the documentation as a tooltip, and load the PHP documents for the selected function in a new window.

The only workaround (and this is not so pleasant compared to the actual code completion) is to know the TextMate shortcuts for quick navigation between files inside and inside:

  • โŒ˜T (Go to File)
  • โ‡งโŒ˜T (Go to Symbol)
  • โŒƒโŒ˜T (Select Bundle Item)

It's also worth taking a look inside the PHP package in the Bundle editor and remember a few shortcuts. After you learned a couple of them as fast as with the IDE and code completion.

+5
source

Check the completion of the textmate PHP code here http://aralbalkan.com/822

+2
source

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


All Articles