3 ms·
I use IDEA for Java and JS, and the JS intelligence is nothing compared to the Java intelligence. I would never rely on the refactoring tool to do an operation
by peeters 11y ago
I use IDEA for Java and JS, and the JS intelligence is nothing compared to the Java intelligence. I would never rely on the refactoring tool to do an operation in Javascript. It simply can't do much past grepping and guessing. In Java, I don't think twice about renaming a method, e.g.
- nqzero 11y agoif a js codebase is structured appropriately, webstorm does an excellent job of intellisense and refactoring. netbeans 7.2 does an adequate job, but oracle ruined the js support when they bought sun (didn't like the rhino license - they've been pedaling backwards ever since) the biggest issue i see, is that the "dialect" that you need to follow to enable the intellisense isn't well-defined. what seems to work for me: 1. explicitly define constructors 2. explicitly define the prototype 3. use jsdocs if you're using inheritance 4. initialize object literals (even if they get overwritten immediately)