好的 Symfony 编辑器 Netbeans 还是 Eclipse?

发布于 2024-12-08 21:23:46 字数 321 浏览 4 评论 0原文

我正在为 Symfony2 项目和其他项目寻找一个好的编辑器。我真的不需要花哨或加载数千个脚本等。我个人更喜欢简单且干净的结构化 IDE - 这就是为什么我实际上总是倾向于关闭 Eclipse。

我在装有 OS X Lion 的 Macbook 上运行 Mamp。

目前我总是回到科莫多。所以我的问题是:在 Eclipse 和 Netbeans 中支持 Symfony 有什么优势(我实际上都尝试过)?

我不介意在编辑器和浏览器之间进行编辑和来回切换。我从来没有真正理解为什么需要有一个巨大的应用程序。除了代码智能和编辑器中集成的颠覆工具之外,我看不到任何其他优点。有人能同意吗?

I am looking for a good editor for a Symfony2 project and other projects. I really don't need the fancyness or thousands of scripts loading, etc. I personally prefer easy and clean structured IDE - that's why I actually always tend to close Eclipse.

I am running Mamp on a Macbook with OS X Lion.

Currently I always go back to Komodo. So my question is: What are the advantages of having Symfony support in Eclipse and Netbeans (I actually tried both)?

I don't mind editing and going back and forth between the editor and the browser. I never really understood why there needs to be a huge application for that. I just can't see any advantages other than the code intelligence, and integrated subversion tools in the editors. Can anybody agree on that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦晓ヶ微光ヅ倾城 2024-12-15 21:23:46

我也使用 NetBeans,它甚至可以与 Symfony 2 配合使用。您无需设置任何内容,只需从现有 Symfony 文件夹创建一个新的 PHP 项目即可。您将获得类的自动完成功能和 YAML 的验证检查功能(当然,如果您使用它)。

对于 Twig,你可以安装这个插件,它只为你提供语法高亮显示。这对我来说就足够了。我发现的唯一问题是,如果您使用一些深色(且很酷)的 NetBeans 主题,Twig 模板很难阅读:您应该使用默认的黑白主题。

即使使用 Symfony2 插件,我也不推荐 Eclipse:效果非常糟糕,而且安装需要几分钟。唯一好的功能(我无法在 NetBeans 中使用)是用于生成实体、安装资产等的自定义命令。

I use NetBeans too which works well even with Symfony 2. You don't need to set anything, just create a new PHP project from existing Symfony folder. You'll get autocomplete for classes and validation check for YAML (if you use it, of course).

For Twig you can install this plugin which gives you syntax highlight and nothing more. This is enough for me. The only problem I found is that Twig templates are hard to read if you use some dark (and cool) NetBeans theme: you should use default black on white one.

I don't recommend Eclipse even with Symfony2 plugin: works really bad and it takes minutes to install. The only good feature (I can't get in NetBeans) is custom commands for generating entities, install assets and so on.

一百个冬季 2024-12-15 21:23:46

我所有的 PHP 项目都使用 NetBeans,包括 symfony 1.x 的东西。我曾经使用 Eclipse,但发现自动完成功能有时会挂起 - 尽管他们可能已经解决了这个问题。两者都占用内存,并且随着时间的推移似乎越来越多地占用 RAM,因此如果您习惯让机器休眠而不是关闭它,则两者都需要定期重新启动。

无论如何,NetBeans 中的自动完成功能非常好,所以我一直坚持使用它。我同意您对 IDE 中框架支持的总体评估 - 拥有它可能很好,但我对 CLI 很满意。

I use NetBeans for all my PHP projects, including symfony 1.x stuff. I used to use Eclipse but found that auto-complete would hang from time to time - though they may have fixed that. Both are memory hungry and seem to hang onto RAM increasingly over time, hence both need restarts periodically if you are in the habit of sleeping your machine rather than turning it off.

The autocompletion is pretty good in NetBeans, anyway, so I've stuck with it. I agree on your assessment of framework support in IDEs generally - it may be nice to have, but I'm happy with the CLI.

影子的影子 2024-12-15 21:23:46

@Mike我一直在为eclipse开发一个symfony插件,它可以在这里找到: http://symfony.dubture.com/

@Mike i've been working on a symfony plugin for eclipse, it's available here: http://symfony.dubture.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文