Skip to content

The user is not guided to the error line when an error is encountered after verifying/uploading the sketch #608

Closed
@91volt

Description

@91volt

Describe the bug
If an error is encountered when trying to compile or upload, in code editor the user is not guided to the line of code where the first encountered error is located. This is annoying especially when dealing with long code or multiple .ino tab, because the user is not sure on where the error is located, making it difficult to spot and troubleshoot it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'File'
  2. Go to 'Examples > Strings'
  3. Open 'StringReplace' sketch
  4. Go to line 46
  5. Delete the semicolon ";" at the end of line
  6. Scroll on top of code
  7. Click Verify (or Upload) button on top bar of IDE GUI

Expected behavior
When an error is encountered trying to compile or upload In code editor I expect to be brought with the cursor to the first error found in the workspace.

Screenshots
Actual behaviour - IDE 2 beta12
IDE2_error_highlight_cursor.gif

Expected (Java IDE legacy behaviour)
JAVA_Ide_error_cursor.gif

Desktop (please complete the following information):

  • OS: All
  • Version: 2.0.0 beta12

Additional context
This behavior was consolidated in Java IDE.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions