Deleting primary tab has no effect #649
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Sketch files can be deleted by selecting "Delete" from editor toolbar context menu.
🐛 The "Delete" menu option is enabled when the primary tab is selected, and a confirmation dialog indicates it will delete the sketch, but nothing happens.
To reproduce
A "Do you want to delete the current sketch?" dialog will appear.
🐛 The sketch remains open in Arduino IDE.
🐛 If you check the location of the sketch on your drive, you will see that it is still present.
Expected behavior
If sketch deletion is offered, it should work.
Arduino IDE version
Original report
2.0.0-rc1-snapshot.f0d9894
Last verified with
692f29f
Operating system
Operating system version
Additional context
Arduino IDE 1.x has the same behavior of deleting the sketch when the primary tab is deleted via the tab management menu, except it works in Arduino IDE 1.x.
Additional reports
The text was updated successfully, but these errors were encountered: