3 ms·
In my experience vim is pretty good for JS/DOM development. Most IDEs out there targeting those stacks can't actually do much since JS is too difficult to do go
by logn 13y ago
In my experience vim is pretty good for JS/DOM development. Most IDEs out there targeting those stacks can't actually do much since JS is too difficult to do good code completion on. Aptana and WebStorm try their best to be good IDEs for this. I prefer LT over those. But really, I can't say you're missing out on much by using vim (and in fact are maybe on a better path). Compare this to Java where I'd think you're really cheating yourself by not using an IDE.
- pjmlp 13y agoNetbeans gives me live feedback of JsLint, the code completion engine is quite good, type inference, refactoring, popups with information from JsDoc, outline navigation with inference from most AMD patterns. CSS editing allows me to see the styles graphically. HTML editing allows for easy navigation between CSS, JavaScript and HTML elements on the page. The current beta version allows for 2 way editing between IDE and browser (chrome). Can I do all of this in vim?
- johncoltrane 13y agoWhy would you use a text editor if you need IDE features?
- pjmlp 13y agoBecause OP was suggesting a 70's development style, hence my remarks.
- logn 13y agoYep. But in my experience, developing JS and HTML in Netbeans feels like 70s style development. After using Eclipse (or Netbeans) for Java development, I find JavaScript development never is that great in IDEs. Maybe they've optimized certain use cases of JS auto-completion and type inference, but for me it always feels like the IDE is just an editor, and a lousy one at that, compared to vim.
- pjmlp 13y agoNetbeans invested a lot into dynamic languages support when the JRuby team worked for Sun. That work has been used for JavaScript as well.
- bpodgursky 13y agoIntelliJ does an amazingly good job of Javascript + html + CSS code completion, inspection, and reformatting. I primarily program in Java and I expected basically no IDE support for Javascript, but I was pleasantly surprised when it started warning me that imported files don't exist, my jquery selectors don't match any element IDs, my CSS is invalid, etc etc etc.