Symfony2 Eclipse 插件 CLI
我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
@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