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

Explore how to leverage TypeScripts new typings support #12458

Closed
3 tasks done
kieferrm opened this issue Sep 22, 2016 · 2 comments
Closed
3 tasks done

Explore how to leverage TypeScripts new typings support #12458

kieferrm opened this issue Sep 22, 2016 · 2 comments
Assignees
Labels
plan-item VS Code - planned item for upcoming
Milestone

Comments

@kieferrm
Copy link
Member

kieferrm commented Sep 22, 2016

With 2.0 TypeScript changed how typings are acquired.

  • explore how to leverage the new typings story for TypeScript
  • explore how to leverage the new typings story for JavaScript
  • explore automated acquisition of typings
@kieferrm kieferrm added the plan-item VS Code - planned item for upcoming label Sep 22, 2016
@kieferrm kieferrm self-assigned this Sep 22, 2016
@kieferrm kieferrm added this to the September 2016 milestone Sep 22, 2016
@kieferrm
Copy link
Member Author

Here are findings from the exploration.

  1. With TS 2.0.5 automated typings acquisition story works well. There are several glitches but nothing unsolvable in for the October release.
  2. JS users still need to a jsconf.json file in order to get code completions. We should look into automatically/virtually injecting the "project marker".
  3. When opening a new js folder/project the TS server determines all modules/libraries and starts acquiring their typings. If the typings are not yet cached this can be a work intensive process with a lot of CPU usage. I.e. we need to inform users that something is happening.
  4. Typings can refer to a different version than the actual module/library. We should look into letting users know how proposals are computed (when the ask for it).

@kieferrm
Copy link
Member Author

We should change the default to not acquire typings out of the box for now.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plan-item VS Code - planned item for upcoming
Projects
None yet
Development

No branches or pull requests

2 participants