workbenchdev / workbenchdev/Workbench

Show a symbol in the gutter if there is a diagnostic on the line

Open
#914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
844
Forks
91
Avg merge
7h 12m
Merged PRs (30d)
1

Description

Like Builder:

image

This is particularly helpful in Workbench since the editor width is limited (having multiple panes) so an error can easily happen outside the viewport (in the scroll view).

This will help beginners find errors in their code.

This should be reasonably easy to do using by placing a GtkSourceMark in the GtkSourceGutter. See https://gnome.pages.gitlab.gnome.org/gtksourceview/gtksourceview5/class.Gutter.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor's diagnostic handling and review the GtkSourceGutter and GtkSourceMark documentation linked in the issue. Done means a visible gutter symbol appears on each line with a diagnostic, including when the diagnostic is outside the narrow editor viewport.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.