Add isRetrigger field to signature help context

#54972

Instead of having a generic `Retrigger` reason, add a new field on the `SignatureHelpContext` that tracks if this was a retrigger or not. This allows retrigger for all the different trigger reasons, including invoke.

Replace the old `Retriggger` trigger reason with `ContentChange` which tracks cursor movement and text updates.
This commit is contained in:
Matt Bierner
2018-10-24 23:19:01 -07:00
parent 9aa969cd07
commit f4131970f6
11 changed files with 69 additions and 41 deletions

View File

@@ -1115,7 +1115,7 @@ export class SignatureHelp {
export enum SignatureHelpTriggerReason {
Invoke = 1,
TriggerCharacter = 2,
Retrigger = 3,
ContentChange = 3,
}
export enum CompletionTriggerKind {