vscode icon indicating copy to clipboard operation
vscode copied to clipboard

[FR] Add `Manual` to `CompletionTriggerKind`

Open RedCMD opened this issue 1 year ago • 0 comments

It would be nice to know if the user explictly wants completions vs just implicitly

Currently Invoke is the same for both manually triggering completions ctrl+space and with normal typing "wordPattern"

https://github.com/microsoft/vscode/blob/11095a2781bd2a14cbaddc1b925f196f1e9452bc/src/vscode-dts/vscode.d.ts#L5067-L5080

Add forth option: Manual (or Explict?)

/**
 * Completion was triggered manually by the user
 */
Manual = 3

related: https://github.com/microsoft/vscode/issues/115343 (I think this is what he was trying to explain)

RedCMD avatar Feb 19 '24 01:02 RedCMD