Skip to content

Non-functional "File > New File" menu item #1014

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
per1234 opened this issue Jun 1, 2022 · 0 comments · Fixed by #1071
Closed
3 tasks done

Non-functional "File > New File" menu item #1014

per1234 opened this issue Jun 1, 2022 · 0 comments · Fixed by #1071
Assignees
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Jun 1, 2022

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

  1. Open any sketch.
  2. Select File > New File from the Arduino IDE menus.
    An "Untitled-0" tab is added to the IDE's editor view.
  3. Select "Rename" from the menu on the editor toolbar.
    🐛 Nothing happens.
  4. Type some text in the "Untitled-0" editor.
    🐛 It is not possible:

    Cannot edit in read-only editor

  5. 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
@per1234 per1234 added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Jun 1, 2022
kittaakos pushed a commit that referenced this issue Jun 17, 2022
Removed:
 - `New File`,
 - `New Window`.

Closes #1014.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 linked a pull request Jun 17, 2022 that will close this issue
4 tasks
kittaakos pushed a commit that referenced this issue Jun 17, 2022
Removed:
 - `New File`,
 - `New Window`.

Closes #1014.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants