Configure IntelliJ for a full stack JavaScript Automation


There are some crucial IntelliJ plugins to install:
  1. Base64 for IDEA and Storm
  2. BashSupport
  3. Bootstrap
  4. Bootstrap 3
  5. ddescriber for Jasmine
  6. JS Toolbox
  7. NUnitJS
  8. Markdown Support
As a peace offering to the mighty IntelliJ, use Java as project SDK:
use Java as project SDK, to keep IntelliJ happy
I prefer to configure four separate modules, to help separate back-end vs. front-end JavaScript dependencies:
I prefer to configure four separate modules, to help separate back-end vs. front-end JavaScript dependencies
Add the bower_components library to the client module, and the node_modules library to theserver module:
Add the bower_components library to the client module, and the node_modules library to the server module
And be sure to enable JavaScript libraries in the editor.
Right click in editor and choose JavaScript libraries to use
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
However, for some developers' convenience (and others' dismay) we do commit the four IntelliJ module .iml files to the repository:
client.iml
server.iml
e2e.iml
doc.iml
Source:
http://stackoverflow.com/questions/25163410/how-do-i-configure-intellij-for-a-full-stack-javascript-web-app

https://www.jetbrains.com/help/idea/2016.1/javascript-specific-guidelines.html





Comments

Post a Comment

Popular posts from this blog

Software Testing @ Microsoft

Trim / Remove spaces in Xpath?