Skip to content

feat(editor): add a markers prop - #9

Open
jlee-kitware wants to merge 2 commits into
masterfrom
editor-markers
Open

jlee-kitware wants to merge 2 commits into
masterfrom
editor-markers

Conversation

@jlee-kitware

@jlee-kitware jlee-kitware commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Applications that run or lint the edited code could report where it failed only outside the editor. The editor now takes a list of {line, message, severity} and applies it with setModelMarkers, so the line is marked and the message appears on hover.

Both clients accept it, and markers set before the editor mounts are applied once the model exists.

Tests cover the prop binding. The Monaco behavior was verified manually in both clients, since the repo has no JS test setup.

Applications that run or lint the edited code could report where it
failed only outside the editor. The editor now takes a list of
{line, message, severity} and applies it with setModelMarkers, so the
line is marked and the message appears on hover.

Both clients accept it, and markers set before the editor mounts are
applied once the model exists.
@jlee-kitware jlee-kitware self-assigned this Oct 23, 2026
@jlee-kitware
jlee-kitware requested a review from jourdain October 23, 2026 14:38

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant