Closed
Description
Describe the problem
A "New File" menu item was recently introduced into the IDE's "File" menu.
🐛 The way the new feature behaves makes it not useful and also quite confusing.
To reproduce
- Open any sketch.
- Select File > New File from the Arduino IDE menus.
An "Untitled-0" tab is added to the IDE's editor view. - Select "Rename" from the ▼ menu on the editor toolbar.
🐛 Nothing happens. - Type some text in the "Untitled-0" editor.
🐛 It is not possible:Cannot edit in read-only editor
- Select Sketch > Show Sketch Folder from the Arduino IDE menus.
🐛 The new file is not present in the sketch folder.
Expected behavior
No "New File" menu item in the IDE's "File" menu.
-OR-
File > New File has same behavior as "New Tab" in the editor toolbar.
Arduino IDE version
2.0.0-rc6-snapshot-5fc30bd
Operating system
Windows, Ubuntu
Operating system version
Windows 10, Ubuntu 20.04
Additional context
I bisected the introduction of this menu item to 1ae60ec (it does not occur when using the build for b8c718c).
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details