Skip to content

Commit edc1ada

Browse files
authored
feat: adding additional fields to LogInlineCompletionSessionResultsParams (#537)
1 parent d8890a6 commit edc1ada

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

types/inlineCompletionWithReferences.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,13 @@ export interface LogInlineCompletionSessionResultsParams {
101101
* Length of additional characters inputed by user from when the trigger happens to when the user decision was made
102102
*/
103103
typeaheadLength?: number
104+
/**
105+
* The number of new characters of code that will be added by the suggestion if accepted, excluding any characters
106+
* from the beginning of the suggestion that the user had typed in after the trigger.
107+
*/
108+
addedCharacterCount?: number
109+
/**
110+
* The number of characters of existing code that will be removed by the suggestion if accepted.
111+
*/
112+
deletedCharacterCount?: number
104113
}

0 commit comments

Comments
 (0)