Skip to content

Pulled remote sketches don't show error underlines and markers #669

Closed
@91volt

Description

@91volt

Describe the bug
When working on a sketch pulled from the cloud the user doesn't get any error marker/underline in the code editor. It makes a lot difficult to debug and troubleshoot the remote sketch.

To Reproduce
Steps to reproduce the behavior:

  1. Go to web editor at https://create.arduino.cc/editor and Login
  2. Open blink example clicking the voice from left sidebar 'example' > '01. BASICS (6)' > 'blink.ino'
  3. Try to modify the sketch and when prompted by the dialog box save it as 'blink_test'
  4. Delete the last semicolon at line 36
  5. Open the IDE 2 software
  6. Go to sketchbook explorer clicking the first voice on left sidebar
  7. Open remote sketchbooks clicking on 🌐 tab in the sidebar
  8. Pull 'blink_test' clicking on down arrow icon on the right of the sketch's name
  9. Open the pulled sketch double clicking on 'blink_test' on the sidebar
  10. Try to verify -> it will give an error but no red underline at the end of line 36
  11. Save the sketch locally pressing CMD/Ctrl + Shift + S, save it in Arduino folder.
  12. Check line 36 and you will see the error underline where the semicolon is missing.

Expected behavior
I expect to see the same behaviour of local sketches: if an error is present in the code I expect it to be red underlined and a red marker to be present in the scrollbar area in the far right.

Screenshots
missing_cloud_errors

Desktop (please complete the following information):

  • OS: All
  • Version: 2.0.0 beta 12

Additional context
It seems not caused by a language server crash

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy