We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d55648 commit 99f6575Copy full SHA for 99f6575
packages/core/src/codewhisperer/util/diagnosticsUtil.ts
@@ -61,7 +61,16 @@ export function toIdeDiagnostics(diagnostic: vscode.Diagnostic): IdeDiagnostic {
61
ideDiagnosticType: getDiagnosticsType(diagnostic.message),
62
severity: severity,
63
source: diagnostic.source,
64
- range: diagnostic.range,
+ range: {
65
+ start: {
66
+ line: diagnostic.range.start.line,
67
+ character: diagnostic.range.start.character,
68
+ },
69
+ end: {
70
+ line: diagnostic.range.end.line,
71
+ character: diagnostic.range.end.character,
72
73
74
}
75
76
0 commit comments