workbenchdev / workbenchdev/Workbench
Show a symbol in the gutter if there is a diagnostic on the line
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 844
- Forks
- 91
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 1
Description
Like Builder:
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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