Repository navigation
Monitor Typings Acqusition Events in TS Completion Item Provider - #17098
Merged
Matt Bierner (mjbvz) merged 1 commit intoDec 21, 2016
Merged
Matt Bierner (mjbvz) merged 1 commit into
Matt Bierner (mjbvz) merged 1 commit into
Conversation
Monitors the status of typings acqusition from TS. If we are acquiring typings, in the completion item provider, return an error result that informs the user that the results are incomplete. Typings acqusition is currently capped at 30 seconds per typings install event so that we don't block intellisense forever if something goes wrong
Contributor
|
lgtm |
Contributor
Author
|
Johannes Rieken (@jrieken) How do you want to coordinate checking in this work? My understand is that we will need to do work on the VSCode completion item provide to surface these rejections messages in the UI. Will rejecting promises on the TS side before the VSCode work is complete cause any issues? |
Contributor
Nope. Apart from a console message things will work as they used to. Later, I will add proper handling of well-known errors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #15209
Monitors the status of typings acqusition from TS. If we are acquiring typings, in the TypeScript completion item provider, return an error result that informs the user that the results are incomplete.
Typings acqusition is currently capped at 30 seconds per typings install event so that we don't block intellisense forever if something goes wrong.