Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.
This repository was archived by the owner on May 12, 2020. It is now read-only.

Open/Compiled directory does not change when opening new file #18

Open
@technobly

Description

@technobly

First some facts, you can open a directory without opening a file or you can open a file and the directory that it's in will be displayed; along with all of the files in that directory.

If you open a directory with one file, say ./test1/test1.ino. Go ahead and compile it and all is well.

Now open a file from another directory, say ./test2/test2.ino. Notice that the open directory does not change, it's still showing test1.

With test2.ino active, click the compile button and everything will seem to work fine. You can even flash it to your device... but what do you have? It will be test1.ino's binary, not test2.ino

Does it make sense to change the directory for whichever file is actively selected, and compile based on the open file? Personally I believe it's intuitive that the file I have displaying is the one that will be compiled. With this scheme you could have a bunch of different examples and open them all up, programming whichever one is active... as long as it's in it's own directory ;-)

You can open the ./test2/ directory specifically as stated in the facts, however this is fairly cumbersome to remember to do.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions