Skip to content

Commit f958c6f

Browse files
authored
Improves fetch log (microsoft#273072)
1 parent 2b3de7c commit f958c6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,9 @@ export class InlineCompletionsSource extends Disposable {
268268
const result = suggestions.map(c => ({
269269
range: c.editRange.toString(),
270270
text: c.insertText,
271-
isInlineEdit: !!c.isInlineEdit,
272-
source: c.source.provider.groupId,
271+
isInlineEdit: c.isInlineEdit,
272+
showInlineEditMenu: c.showInlineEditMenu,
273+
providerId: c.source.provider.providerId?.toString(),
273274
}));
274275
this._log({ sourceId: 'InlineCompletions.fetch', kind: 'end', requestId, durationMs: (Date.now() - startTime.getTime()), error, result, time: Date.now(), didAllProvidersReturn });
275276
}

0 commit comments

Comments
 (0)