我正在基于Daftmonk的angular-fullstack Yeoman生成器,使用平均堆栈MongoDB、Express、Angular和Node.js构建一个web应用程序.
因为我的大部分工作都是Java,所以我使用IntelliJ IDEA,但是我希望这个JavaScript模块有最佳的内省和工作流程.
为了实现尽可能多的自省和尽可能少的困惑,我应该使用什么插件和项目配置?
我正在基于Daftmonk的angular-fullstack Yeoman生成器,使用平均堆栈MongoDB、Express、Angular和Node.js构建一个web应用程序.
因为我的大部分工作都是Java,所以我使用IntelliJ IDEA,但是我希望这个JavaScript模块有最佳的内省和工作流程.
为了实现尽可能多的自省和尽可能少的困惑,我应该使用什么插件和项目配置?
以下是我迄今为止所能做到的最好的.
There are some crucial IntelliJ plugins to install:
As a peace offering to the mighty IntelliJ, use Java as project SDK:
I prefer to configure four separate modules, to help separate back-end vs. front-end JavaScript dependencies:
将bower_components库添加到client模块,将node_modules库添加到server模块:
And be sure to enable JavaScript libraries in the editor.
根据最佳实践,我们将其添加到.gitignore
文件中,如下所示:
# IntelliJ IDEA local workspace
.idea
编码快乐!