且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Playframework插件在IntelliJ IDEA 12中无法使用

更新时间:2022-12-24 07:44:58

您可能需要下载和/或安装 Play 2.0支持插件+依赖项(很可能你需要在浏览存储库部分找到它,它与捆绑的 Playframework支持不一样的插件!)

Most probably you need to download and/or install Play 2.0 Support plugin + dependencies (most probably you will need to find it in Browse repositories section, it is not the same plugin as bundled Playframework support!)

我可以确保你只是坐在Idea 12中使用新的支持玩Dream 2.0,并且效果非常好。

I can ensure you that I'm just sitting and playing with Play 2.0 in Idea 12 with new support, and it works quite nice.

转到设置> 插件部分并检查是否有最新版本的插件,如果没有被某些错误阻止(即缺少依赖关系),请尝试解决所有缺少的依赖关系,重新启动IDE,并至少编译(或运行)您的应用程序一次。

Go to Settings > Plugins section and check if you have newest version of mentioned plugin and if isn't blocked by some error (ie. missing dependency), try to resolve all missing dependencies, restart the IDE, and compile (or run) your applications at least once.

我还没有测试到最后,但我可以看到支持方面取得了很大进展,特别是在模板和控制器方面。 routes file允许轻松导航到目标操作,但正如我所看到的,conf文件中没有语法高亮显示。

I didn't test it to the end yet, but I can see large progress in the support especially in templates and controllers. routes file allow easily navigate to the target actions, but as I can see there is no syntax highlighting in conf file.

现在甚至可以从菜单中运行和调试Play应用程序。

There is even possible now to run and debug Play application from the menu.

一般来说,如果你' ll启用Play插件,你肯定会看到它:)

In general if you'll enable the Play plugin you will see it for sure :)