Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
您可以使用 tm-completion 捆绑包在 TextMate for PHP 中获得自动完成功能。它的工作效果不如您在其他 IDE(如 Eclipse 或 Visual Studio、xCode)中看到的那么好。但确实有效。
支持标准 PHP 补全。请参阅 PHP 捆绑包 ->支持->帮助
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
我知道这可能很可怕——这对我来说是——但你可以使用 Vim 非常有效地编码。它绝对不是一个交钥匙解决方案,但如果您在项目之间有一些时间,那么这是值得的。
gd
进行声明,或者在更复杂的情况下使用 exuberant ctags 和ctrl-]
进行声明。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.
gd
in a single file or with exuberant ctags andctrl-]
in more complex situations.TextMate 有 30 天的试用期,因此请尝试一下,看看它是否适合您。
我使用 Coda,它具有本机 PHP 函数的类大纲和自动完成功能,但不具有自定义类。
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.
不,我不认为有这些 - Textmate 是一个文本编辑器,而不是一个成熟的 IDE。
默认 php 包提供自动完成和代码提示...但仅适用于内置函数。
“转到符号”命令会显示类和函数大纲...但仅限于当前文件。
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.
为了快速浏览文件中的类、函数和方法,可以使用 TmCodeBrowser 插件。它使用 Exuberant CTag 来索引各种代码类型。
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.