File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,28 @@ export interface InlineCompletionStates {
7676 discarded : boolean
7777}
7878
79+ export interface IdeDiagnostic {
80+ /**
81+ * The range at which the message applies.
82+ */
83+ range ?: {
84+ start : { line : number ; character : number }
85+ end : { line : number ; character : number }
86+ }
87+ /**
88+ * A human-readable string describing the source of the diagnostic
89+ */
90+ source ?: string
91+ /**
92+ * Diagnostic Error type
93+ */
94+ severity ?: string
95+ /**
96+ * Type of the diagnostic
97+ */
98+ ideDiagnosticType : string
99+ }
100+
79101export interface LogInlineCompletionSessionResultsParams {
80102 /**
81103 * Session Id attached to get completion items response.
@@ -114,4 +136,12 @@ export interface LogInlineCompletionSessionResultsParams {
114136 * Flag to indicate this is an edit suggestion rather than a standard inline completion.
115137 */
116138 isInlineEdit ?: boolean
139+ /**
140+ * List of diagnostic added after inline completion completion acceptence.
141+ */
142+ addedDiagnostics ?: IdeDiagnostic [ ]
143+ /**
144+ * List of diagnostic removed after inline completion completion acceptence.
145+ */
146+ removedDiagnostics ?: IdeDiagnostic [ ]
117147}
You can’t perform that action at this time.
0 commit comments