Skip to content

Error opening file .ino #1350

Closed
Closed
@lestofante

Description

@lestofante

Hi,
if you open a file .ino downloaded, the first time you are prompted about missing folder.
If you click yes, the folder is created and sketch opened, if no the IDE will exit.

This SEEMS ok BUT: the folder is created into system "temp". So you close the IDE and try to open the file again, you get an error "folder already exist".
Also the request for creating the folder SEEMS to save the skecth into sketchbook.

Proposed fix:
don't ask to create folder but to "import into sketcbook".
If user say yes, create the folder with the INO into sketchbook (if it does not exist)
if user say no, REPLACE the folder in the temp with the current folder + sketch

Or just don't ask nothing and CREATE/REPLACE the folder in temp.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions