workbenchdev / workbenchdev/Workbench
Better report JavaScript syntax errors
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 844
- Forks
- 91
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 1
Description
When user hits run, JavaScript is eval-ed.
If there is a syntax error, it is printed to the console.
Instead we could display the error directly in the source view at the right line / character.

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 at the code path triggered when the user presses Run, where JavaScript is evaluated and syntax errors are sent to the console. Trace how the source view is represented and how error line and character information could be surfaced there; done means syntax errors appear at the relevant source location instead of only in the console.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100