Skip to content

Allow editing of files in sketch subdirectories #3448

Closed
@matthijskooijman

Description

@matthijskooijman

#3435 changed the way additional files in the sketch directory (e.g. everything but .ino or .pde) are handled, to support files in subdirectories too. AFAICS, this means that any unsaved changes in those additional files will be lost, since the files are compiled from their on-disk versions.

To properly fix this, I think the files in subdirectories need to be added to the list of sketch code files (which should also cause them to be opened in the IDE, which is a nice bonus) and the previous behaviour (without the recursive copy) should be restored.

Note that I haven't actually tested any of this, this is just based on my understanding of the code.

Metadata

Metadata

Assignees

Labels

Type: WontfixArduino has decided that it will not resolve the reported issue or implement the requested featurefeature requestA request to make an enhancement (not a bug fix)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions