mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-31 08:07:10 -05:00
Improve class member snippet completions and keyword completions interaction (#52525)
This commit is contained in:
committed by
GitHub
parent
b14264a2eb
commit
24ac9e75c2
@@ -2335,6 +2335,11 @@ export interface CompletionEntry {
|
||||
* coupled with `replacementSpan` to replace a dotted access with a bracket access.
|
||||
*/
|
||||
insertText?: string;
|
||||
/**
|
||||
* A string that should be used when filtering a set of
|
||||
* completion items.
|
||||
*/
|
||||
filterText?: string;
|
||||
/**
|
||||
* `insertText` should be interpreted as a snippet if true.
|
||||
*/
|
||||
|
||||
@@ -2267,6 +2267,7 @@ export class Session<TMessage = string> implements EventSender {
|
||||
kindModifiers,
|
||||
sortText,
|
||||
insertText,
|
||||
filterText,
|
||||
replacementSpan,
|
||||
hasAction,
|
||||
source,
|
||||
@@ -2285,6 +2286,7 @@ export class Session<TMessage = string> implements EventSender {
|
||||
kindModifiers,
|
||||
sortText,
|
||||
insertText,
|
||||
filterText,
|
||||
replacementSpan: convertedSpan,
|
||||
isSnippet,
|
||||
hasAction: hasAction || undefined,
|
||||
|
||||
Reference in New Issue
Block a user