Symfony2 Eclipse 插件 CLI

发布于 2024-12-22 06:49:59 字数 248 浏览 3 评论 0原文

我在 Eclipse 中使用 symfony2 插件,但它没有集成 symfony 的命令行指令。

我需要的是是否可以将 shell symfony 的命令集成为 php app/console generated:bundle --namespace=Acme/HelloBundle --format=yml

有没有地方描述如何在 eclipse 中设置这些命令为 “运行外部工具”? 应该可以在项目级别集成到插件内部 新->创建捆绑掩码?

I'm using symfony2 plugin with Eclipse but it doesn't integrate symfony's command line instructions.

What i need is if should be possible to integrate shell symfony's command as
php app/console generate:bundle --namespace=Acme/HelloBundle --format=yml

Is there any place that describe how set these command inside eclipse as
'Run external tool'?
Should be possible to integrate inside the plugin at project level
New-> Create bundle mask?

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

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

发布评论

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

评论(1

风铃鹿 2024-12-29 06:49:59

@ziozec:Symfony2 插件不提供这样的开箱即用功能。但是,您确实可以使用“运行外部工具”对话框来设置 eclipse 来运行 symfony 命令。只需在“位置”字段中设置 php 可执行文件的路径并使用项目根目录作为工作目录即可。在参数字段中输入“app/console

@ziozec: the Symfony2 plugin does not provide such a feature out of the box. However, you can indeed use the "Run external tool" Dialog to setup eclipse for running symfony commands. Simply set the path to your php executable in the "Location" field and use the project root as the working directory. In the arguments field enter "app/console

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