6 ms·
Are there really no JavaScript-capable IDEs out there that support code completion, jump to definition, re-factoring, etc? I don't see anything in the language
by pkmays 14y ago
Are there really no JavaScript-capable IDEs out there that support code completion, jump to definition, re-factoring, etc? I don't see anything in the language that would preclude such features.
- Too 14y agofunction DoStuff(foo) //<<<<No information what type foo is { foo.DoA(); //No way to know what methods foo support foo.DoB(); } For most situations where it is possible to infer the type, Visual studio actually does a pretty good job on code completion, but no jump to definition.
- thoradam 14y agoWebStorm has jump to definition, re-factoring, code inspection that provides valuable auto-complete suggestions (and if you use JSDoc tags it can read those) and more: http://www.jetbrains.com/webstorm/features/index.html http://www.jetbrains.com/webstorm/features/index.html
- Kaali 14y agoYes there is, and it works quite well: http://www.jetbrains.com/editors/javascript_editor.jsp?ide=idea http://www.jetbrains.com/editors/javascript_editor.jsp?ide=i... For sure it has some oddities with the completion as it can't be sure what the prototypes are, but then it just lists functions from different prototypes which match your prefix.
- pkmays 14y agoThanks. Those specific complaints from the link seemed more like quality of implementation issues of typical ECMAScript editors vs Adobe's ActionScript IDE. I can live without type inference in a dynamic language, but Visual Studio and Qt Creator have spoiled me on the other features.