Module MarkerDataDTO Copy item path Source Expand description § MarkerDataDTO§ RESPONSIBILITY
Data transfer object for diagnostic markers (errors, warnings, etc.)
Serializable format for gRPC/IPC transmission
Used by Mountain to display diagnostics in the UI
§ FIELDS
Severity: Marker severity level (Error, Warning, Info, Hint)
Message: Diagnostic message text
StartLineNumber/StartColumn: Position start (0-based)
EndLineNumber/EndColumn: Position end (0-based)
Source: Diagnostic source (e.g., compiler, linter)
Code: Diagnostic code for quick fix lookup
ModelVersionIdentifier: Document version for tracking
RelatedInformation: Related diagnostic information
Tags: Additional marker tags (deprecated, unnecessary)
MarkerDataDTO Represents a single diagnostic marker, such as a compiler error or a linter
warning. This structure is compatible with VS Code’s IMarkerData
interface and is used by the Diagnostic service. MAX_MARKER_MESSAGE_LENGTH 🔒 Maximum message length for a marker MAX_SOURCE_LENGTH 🔒 Maximum source string length