Skip to content

Saving inside currently open sketch generates 257 nested folders #65

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
per1234 opened this issue Feb 9, 2021 · 1 comment · Fixed by #211
Closed

Saving inside currently open sketch generates 257 nested folders #65

per1234 opened this issue Feb 9, 2021 · 1 comment · Fixed by #211
Assignees
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact os: windows Specific to Windows operating system 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 Feb 9, 2021

Describe the bug
When you save a sketch inside the folder of the currently open sketch, 257 nested folders are created inside that folder.

After this, the Pro IDE no longer works.

To Reproduce
Steps to reproduce the behavior:

  1. File > Save As...
  2. Save the sketch.
  3. File > Save As...
  4. Open the sketch folder you saved in the previous "Save as" step.
  5. Click the "Save" button.

Expected behavior

Don't create the nested folders.

If you try to do this in the Arduino IDE it is blocked with this dialog:
Clipboard01
So one option would be to emulate the Java IDE behavior (but I would suggest that the obscure Borges reference be left off).

Desktop (please complete the following information):

  • OS: Windows 10
  • Version: 0.1.4-snapshot.3042c1a
    Date: 2021-02-08T10:04:20.854Z
    CLI Version: 0.15.1 alpha [c7403ed2]
@kittaakos kittaakos self-assigned this Feb 10, 2021
@kittaakos
Copy link
Contributor

It works perfectly on POSIX (macOS). I marked it as a Windows issue.

@rsora rsora transferred this issue from arduino/arduino-pro-ide Mar 1, 2021
@rsora rsora added os: windows Specific to Windows operating system priority: high Resolution is a high priority labels Mar 1, 2021
@rsora rsora added the type: imperfection Perceived defect in any part of project label Sep 22, 2021
@per1234 per1234 added conclusion: resolved Issue was resolved topic: code Related to content of the project itself labels Oct 29, 2021
@rsora rsora added criticality: high Of high impact and removed priority: high Resolution is a high priority labels Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact os: windows Specific to Windows operating system 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.

4 participants