Is there a bundle which completes my custom classes and functions in a TextMate project?
Like the code hints with PHP core functions?
Is there a bundle which completes my custom classes and functions in a TextMate project?
Like the code hints with PHP core functions?
As far as I know (and tried to find out in the last couple of hours) there is no working possibility for code completing your own PHP classes and functions in TextMate.
On a sidenote: The PHP Code Completion bundle linked as an answer to this question is totally outdated. You should use the official PHP bundle from http://github.com/textmate instead. With this bundle you can at least complete PHP’s built-in functions, display documentation as a tooltip and load PHP’s docs for the selected function in a new window.
The only workaround (and it isn’t so nice compared to real code completion) is to know the TextMate shortcuts for fast navigation between and inside files:
It is also worth to look inside the PHP bundle in the Bundle Editor and memorize a couple of shortcuts. Once you learned a couple of them it’s as fast as with an IDE and code completion.
Yet it is possible to get auto completion for you custom classes. See my answer to this question : http://stackoverflow.com/questions/3781423/textmate-autocompletion-and-class-outline-for-php-project/3828448#3828448