Christian Lenz created NETBEANS-261: ---------------------------------------
Summary: Better code completion for JS with typescript type definition files Key: NETBEANS-261 URL: https://issues.apache.org/jira/browse/NETBEANS-261 Project: NetBeans Issue Type: Improvement Components: javascript - Documentation, javascript - Editor Affects Versions: Next Reporter: Christian Lenz I read an article about the new Salsa feature in Visual Studio 2016: https://github.com/Microsoft/TypeScript/wiki/Salsa MS tried to implement a better intellisense support for javascript again. Same procedure as every year. But it's not that easy because of the dynamically type system of js as we know. The new idea is to use typescript type definitions files ALSO you don't want to write in TypeScript. The definitions are only helper during the development time in Visual Studio to support the code completion/intellisense. It's based on a new language service called "salsa". Maybe this could be a good enhancement too for supporting a better code completion and go to whatever if netbeans could use TS typedefinition files too? I think VS Code and WebStorm did the same thing and it will make the whole code completion of JS much much better. Cheers Chris P.S. the other thing to resolve better and maybe have type checking while writing plain js code is to use JsDoc as I wrote it here: https://netbeans.org/bugzilla/show_bug.cgi?id=249892 -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists