Skip to content

Monitor Typings Acqusition Events in TS Completion Item Provider - #17098

Merged
Matt Bierner (mjbvz) merged 1 commit into
microsoft:masterfrom
mjbvz:typings-status-for-completion-items
Dec 21, 2016
Merged

Matt Bierner (mjbvz) merged 1 commit into
microsoft:masterfrom
mjbvz:typings-status-for-completion-items

Conversation

@mjbvz

@mjbvz Matt Bierner (mjbvz) commented Dec 13, 2016 •

Copy link
Copy Markdown
Contributor

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.

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
@jrieken

Copy link
Copy Markdown
Contributor

lgtm

@mjbvz

Copy link
Copy Markdown
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?

@jrieken

Copy link
Copy Markdown
Contributor

Will rejecting promises on the TS side before the VSCode work is complete cause any issues?

Nope. Apart from a console message things will work as they used to. Later, I will add proper handling of well-known errors

@mjbvz
Matt Bierner (mjbvz) merged commit 1505b3d into microsoft:master Dec 21, 2016
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants