News for hackers. Stuff that matters.
Re:The trouble with Javascript by pkmays on Friday April 27, 2012 @01:20PM (#3900100)
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.
Re:The trouble with Javascript by Kaali on Friday April 27, 2012 @02:33PM (#3900470)
Yes there is, and it works quite well: 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.

Re:The trouble with Javascript by pkmays on Friday April 27, 2012 @04:11PM (#3900829)
Thanks. 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.
Re:The trouble with Javascript by Too on Friday April 27, 2012 @01:41PM (#3900202)

  function 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.
Re:The trouble with Javascript by thoradam on Friday April 27, 2012 @02:32PM (#3900462)
WebStorm 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