Skip to content
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

We need a "project file" #10462

Closed
dotto59 opened this issue Jul 3, 2020 · 1 comment
Closed

We need a "project file" #10462

dotto59 opened this issue Jul 3, 2020 · 1 comment
Labels
Type: Duplicate Another item already exists for this topic

Comments

@dotto59
Copy link

dotto59 commented Jul 3, 2020

Currently, when creating projects for different board types (e.g. UNO, Mega, Nano, AtTiny, WeMos, etc.) the IDE just "remembers" the last settings about board type, port, speed etc, but this is a pain when working with more than one project for more than one board, because you always need to manually set the IDE board configuration every time you change platform. It's pretty boring if you open a project, edit it, compile ad upload just to get errors due to any setting not suitable for that project (board, upload speed, COM port, etc), or even open the serial monitor and find it is set to 115200 baud instead of the 9600 for that project.

For this reason, I think it would be a great fix (or improvement, and absolutely an essential thing to make an even better IDE), to define a "project" file with the same dir and name of the main *.ino file but with a different extension (e.g. something like ".aproj" as "Arduino PROJect file") as a plain INI-style text file where the IDE could save any project-specific setting like board, COM port, upload speed, programmer, position and size of the window, baud rate position and size of the serial monitor, and any specific setting. The default value for any missing setting on *.aproj file will be the same as current one, either from preferences or the last IDE execution. The file will be automatically created when a new project is saved, and updated each time the project is successfully saved.
I don't think it's a hard thing to implement,

@per1234
Copy link
Collaborator

per1234 commented Aug 1, 2020

Closing as duplicate of arduino/arduino-ide#2438

Note that this capability is already provided by Arduino CLI and Arduino Web Editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

2 participants