✨ Display Issues as Line Annotations In Source Editor #2015
Labels
enhancement
New feature or request
extensions
Issues related to the extension architecture in CodeEdit
source editor
triage needed
Description
Use the newly created
DiagnosticManager
to provide file-specific diagnostics to the editor viaLineAnnotations
. This connection allows visual issues to appear directly in the source editor view below the affected lines.Requirements
DiagnosticIssue
instances for the current file intoLineAnnotation
objects:DiagnosticManager
with a helper:CodeEditSourceEditor
is used:Additional Context
This connects the data produced by
DiagnosticManager
to line annotations introduced in CodeEditSourceEditor. This is a key step in surfacing diagnostics in a context-aware and developer-friendly way.Later extensions might include showing annotations from multiple sources, updating annotations live from LSP, or supporting quick fixes from the underlying
DiagnosticIssue
.Related Issues
The text was updated successfully, but these errors were encountered: