arduino / arduino/Arduino

Stop compilation on the first error, and highlight it first

Open
#3,748 23 comments 0 reactions 0 assignees View on GitHub
Component: Compilation Component: Core Component: IDE user interface feature request
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

Highlighting the latest code syntax error makes it more difficult to find the line of code causing problems...

Example:

Class classname();
classname.doThis(); <--- # 1
classname.doThat();
classname.doThatAgain(); <--- this line is highlighted in case of error, instead of # 1

I don't know if I'm clear... Thanks

Contributor guide

Open the contributing guide

Research direction

Reproduce the example in the Arduino IDE 1.x and inspect how compilation errors are reported and highlighted. Done means compilation stops at the first syntax error and highlights that line rather than a later error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.