使用IntelliJ IDEA for JavaScript的最佳插件和项目? [英] Optimal plugins and project to use IntelliJ IDEA for JavaScript?

查看:119
本文介绍了使用IntelliJ IDEA for JavaScript的最佳插件和项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用MEAN堆栈构建Web应用程序: MongoDB Angular Node.js ,基于Daftmonk的角满堆 Yeoman生成器.

I'm building a web application using a MEAN stack: MongoDB, Express, Angular, and Node.js, based on Daftmonk's angular-fullstack Yeoman generator.

因为我的大部分工作是Java,所以我使用 IntelliJ IDEA ,但是我会例如此JavaScript模块的最佳自省和工作流程.

Because most of my work is Java, I'm using IntelliJ IDEA however I'd like optimal introspection and workflow for this JavaScript module.

为了获得最大的内省和最小的混乱,我应该使用哪些插件和项目配置?

In order to achieve to most possible introspection, and least possible confusion, what plugins and project configuration should I use?

推荐答案

这是迄今为止我能做的最好的事情.

Here's the best I've been able to do so far.

有一些重要的IntelliJ插件要安装:

  • .gitignore支持
  • AngularJS
  • 用于IDEA和Storm的Base64
  • BashSupport
  • 引导程序
  • CSS支持
  • 数据库支持
  • 茉莉花的ddescriber
  • Git集成
  • GitHub
  • HAML
  • Heroku集成
  • HTML工具
  • JavaScript调试器
  • JavaScript Intent Power Pack
  • JavaScript支持
  • JS工具箱
  • JUnit
  • 业力
  • 无需CSS编译器
  • 很少支持
  • 降价
  • Mongo插件
  • NodeJS
  • Require.js插件
  • REST客户端
  • Spy-js
  • SvgViewer 2
  • 端子
  • W3C验证程序
  • YAML

作为强大的IntelliJ的和平产品,请使用Java作为项目SDK:

我更喜欢配置四个单独的模块,以帮助分离后端JavaScript和前端JavaScript依赖:

bower_components 库添加到 client 模块,并将 node_modules 库添加到服务器模块:

Add the bower_components library to the client module, and the node_modules library to the server module:

并确保在编辑器中启用JavaScript库.

按照最佳实践,我们不将本地IntelliJ IDEA配置文件夹(/.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 IDEA for JavaScript的最佳插件和项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆