Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving Code Assist with TypeScript #24

Closed
paulvi opened this issue Apr 27, 2013 · 4 comments
Closed

Improving Code Assist with TypeScript #24

paulvi opened this issue Apr 27, 2013 · 4 comments
Labels

Comments

@paulvi
Copy link
Member

paulvi commented Apr 27, 2013

Related to #7 .

JavaScript lacks type definition. This problem is address in Microsoft TypeScript language.
As I understand, they also provide files for common libraries with that information.
The idea is to get those files and check if we can get some useful result from them (in a quick way)

@paulvi
Copy link
Member Author

paulvi commented Mar 21, 2014

A large collection of declaration files for popular JavaScript libraries
Example https://github.com/borisyankov/DefinitelyTyped/blob/master/node/node.d.ts

@paulvi
Copy link
Member Author

paulvi commented May 23, 2014

All JavaScript engines for IDE spend a lot of efforts guessing type of JavaScript variable.

I believe with some Java parser for TypeScript and with over 100+ libraries descriptions
https://github.com/borisyankov/DefinitelyTyped
it would be possible to give quick implementation for simple completions for those libraries.

@paulvi
Copy link
Member Author

paulvi commented May 23, 2014

ref ternjs/tern#317

What about if we just use TypeScript definition files to describe external libraries APIs? There are a lot of those on Definitely Typed.

@paulvi
Copy link
Member Author

paulvi commented Jan 11, 2018

closing as really really old

@paulvi paulvi closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants