-
Notifications
You must be signed in to change notification settings - Fork 36.4k
Open
Description
Since version 3.16.0 of the LSP spec, a data field is available for diagnostics (source). This data field can be used to provide additional context for code actions. One useful example is a diagnostic/marker indicating a variable is undefined, and a code action providing a "Replace with ...", using this data to get the string to replace with.
However, the IMarker and IMarkerData interfaces currently don't have this field.
Steps:
- Add the
datafield to the monaco core (this repo): Exposedataattribute to marker #279065 - Update the monaco-editor repo once this is done.
Metadata
Metadata
Assignees
Labels
No labels