Neither NetBeans, nor Eclipse do very well with parsing the module pattern and putting the code into their outliners in a u开发者_JAVA技巧seful way. Is there something that does it better these days?
Just found out how to make eclipse use the aptana plug-in for editing those files. That's better....
- install aptana
- preferences > general > editors > file associations
- select aptana in lower pane
- click Default
This question has some good answers, as well.
Generally all IDEs from JetBrains has very good support for navigating and refactoring complex JavaScript constructs (including prototypical inheritance and the module pattern). I am particular impressed with their ability to refactor across HTML, CSS and JavaScript
You can read more about their JavaScript support here. Also note that this extensive JavaScript support is available across their entire line of Ruby, Python, Java, PHP and Web IDEs.
The latest Eclipse (Kepler) understands and outlines modules
精彩评论