Skip to content

Add data field to markers #279062

@Viicos

Description

@Viicos

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:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions