This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258596 - Better code completion for JS with typescript type definition files.
Summary: Better code completion for JS with typescript type definition files.
Status: CLOSED INVALID
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-31 07:19 UTC by Christian Lenz
Modified: 2018-01-10 12:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lenz 2016-03-31 07:19:50 UTC
Today I read an article about the new Sals 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?


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
Comment 1 Christian Lenz 2018-01-10 12:25:36 UTC
I will close it, because it will handled now at the JIRA board: https://issues.apache.org/jira/browse/NETBEANS-261. Please feel free to change the state of the ticket.