Description
Describe the current behavior
A new menu item File > Close Editor was introduced recently. This closes the currently selected editor.
The code files in the root of an Arduino sketch are always opened in the Arduino IDE editors. It is very rare for users to have any other editors open in the IDE. File > Close Editor has no effect when a sketch tab is selected. Its purpose is not clear from the title since we have never used the term "editor" to refer to an individual tab (we call them "tabs"). When a non-sketch file is open in an editor, the X on the right side of its tab will be the obvious method for closing it (with an alternative of using the "View: Close Tab in Main Area" keyboard shortcut).
My opinion is that this File > Close Editor will only cause confusion and add unnecessary complexity to the Arduino IDE's primary UI. I suspect that its introduction was unplanned.
To reproduce
- Select File > Close Editor from the Arduino IDE menus
Note that it doesn't do anything.
Describe the request
Evaluate the need for File > Close Editor. If it doesn't offer anything of value to the users, remove it.
Desktop
- OS: Windows 10
- Version: 2.0.0-rc1-snapshot.f0d9894
Date: 2021-11-30T16:25:41.414Z
CLI Version: 0.20.1 [abb21449]