Skip to content

Unsaved changes are not compiled #61

Closed
@per1234

Description

@per1234

Describe the bug
The saved versoin of the sketch is always compiled, even when there are unsaved changes in the editor.

To Reproduce
Steps to reproduce the behavior:

  1. File > Preferences
  2. Uncheck the box next to "Auto save".
  3. Click the "OK" button.
  4. Open a sketch that will compile without errors (e.g., File > New).
  5. Make changes to the sketch code that would cause a compilation failure. Don't save.
  6. Sketch > Verify/Compile. The compilation passes.

Expected behavior
The sketch code in the editor should be compiled, as is done in the Arduino IDE.

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 0.1.4
    Date: 2021-02-10T12:24:17.658Z
    CLI Version: 0.15.2 alpha [0d4cb150]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions