是否有适用于 Eclipse 的 Web 服务器插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4494956/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is there a Web Server plugin for Eclipse?
提问by MK_Dev
Just like the title says, are there any plugins that integrate a web server with Eclipse for quicker/easier web development?
就像标题所说的那样,是否有任何插件可以将 Web 服务器与 Eclipse 集成以实现更快/更轻松的 Web 开发?
I'm mainly looking for PHP development that can be done WITHOUT installing XAMPP or any other server software separately. Ideally, it'd work like Visual Studio - hit "Run", a Web server instance is started up and your script(s) are run, that allow you to step through code without going to the North Pole first (ok, one trip to the North Pole to set everything up is acceptable).
我主要寻找无需单独安装 XAMPP 或任何其他服务器软件即可完成的 PHP 开发。理想情况下,它会像 Visual Studio 一样工作 - 点击“运行”,启动一个 Web 服务器实例并运行您的脚本,这使您无需先去北极即可单步执行代码(好吧,一次旅行到北极设置一切是可以接受的)。
Am I dreaming or have I just been looking in the wrong places?
我是在做梦还是只是找错了地方?
回答by Adrian Petrescu
Yes, it absolutely exists! It's called the Eclipse Web Tools Platform(WTP for short), and it's very powerful. Furthermore, it is bundled inside the Eclipse PHP Developer Tools(PDT) distribution, which is probably what you want to be using.
是的,它绝对存在!它叫做Eclipse Web Tools Platform(简称WTP),功能非常强大。此外,它捆绑在Eclipse PHP Developer Tools(PDT) 发行版中,这可能是您想要使用的。