我怎么配置的IntelliJ一个全栈的JavaScript的Web应用程序? [英] How do I configure IntelliJ for a full-stack JavaScript web app?
问题描述
我使用的是MEAN堆栈构建Web应用程序:的MongoDB ,的防爆preSS ,角和的 Node.js的的基础上,Daftmonk的角fullstack 约曼发电机。
I'm building a web application using a MEAN stack: MongoDB, Express, Angular, and Node.js, based on Daftmonk's angular-fullstack Yeoman generator.
我的preferred IDE是 IntelliJ IDEA的,部分原因是因为我还上的Ruby / Rails,Java等工作,部分是因为它是F#%ING坏放大器; @s,我喜欢它。
My preferred IDE is IntelliJ IDEA, partly because I also work on Ruby/Rails, Java, etc., and partly because it's f#%ing bad&@s and I love it.
什么是配置这个项目的最佳方式?
What's the best way to configure it for this project?
推荐答案
下面是我已经能够到目前为止做的最好的。
Here's the best I've been able to do so far.
有一些关键的IntelliJ插件安装:
- 的.gitignore支持
- AngularJS
- 的Base64 IDEA和风暴
- BashSupport
- 引导
- CSS支持
- 数据库支持
- ddescriber茉莉花
- Git的整合
- GitHub上
- HAML
- Heroku的整合
- HTML工具
- 玉
- JavaScript调试器
- JavaScript的意向电源包
- JavaScript的支持
- JS工具箱
- 的JUnit
- 噶
- LESS CSS编译器
- 支持较少
- 降价
- 蒙戈插件
- 的NodeJS
- Require.js插件
- REST客户端
- 间谍JS
- SvgViewer 2
- 终端
- W3C校验
- YAML
表示歉意浩浩荡荡的IntelliJ,使用Java作为项目的SDK:
我preFER将四个独立的模块,来帮助分离后端与前端JavaScript的依赖性
添加 bower_components 库的客户端模块,并在 node_modules 库的服务器模块:
Add the bower_components library to the client module, and the node_modules library to the server module:
并确保启用JavaScript库在编辑器中。
每最佳实践,我们的不要提交本地IntelliJ IDEA的配置文件夹( /。思想/
)修改,而不是添加它像这样的的.gitignore
文件:
Per best practices, we do not commit the local IntelliJ IDEA configuration folder (/.idea/
) to the repository, instead adding it to the .gitignore
file like so:
# IntelliJ IDEA local workspace
.idea
然而,对于一些开发者的方便 (和其他人的沮丧)的我们的做的提交四的IntelliJ模块 .iml
文件库:
client.iml
server.iml
e2e.iml
doc.iml
编程快乐!
这篇关于我怎么配置的IntelliJ一个全栈的JavaScript的Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!