Skip to content

Multi-Root Workspaces - Multiple "Arduino.json" #71

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

Open
tiziano149 opened this issue May 3, 2025 · 1 comment
Open

Multi-Root Workspaces - Multiple "Arduino.json" #71

tiziano149 opened this issue May 3, 2025 · 1 comment

Comments

@tiziano149
Copy link

When using Multi Root Workspaces, meaning I have many Arduino folders in the same Workspace, the "Arduino.json" is configured only on the top most folder in the ui!

Also, only the first one in the list is read, so that changing between ".ino"s doesn't change the configuration to each "Arduino.json", meaning I have to be manually changing the Board type and Sketch all the time when switching between multiple Arduino Projects.

Changing the order of the Added Workspace Folders magically makes the plugin read the "Arduino.json" of the first one, so that's an impressively cumbersome workaround.

It would be awesome to automate this so that the plugin works properly when using Multi-Root / Multiple Project workspaces and that the settings change happens automatically.
For instance by linking a Sketch to a pair of settings. This could apply to multiple Sketches and be documented in the same way in an arduino.json with multiple entries for each sketch/settings pair.

@tiziano149
Copy link
Author

tiziano149 commented May 3, 2025

Image

I think it would be much better if the configuration like "board type", "programmer", "sketch", "baud rate", "port", etc, were stored in Folder Settings instead of the Workspace or globally. This would allow for much quicker work and less time wasted on changing settings. That would be the whole point of the extension IMHO...
Otherwise if I have to run every code on a separate window there is no benefit compared to using arduino IDE...

Image

This, but per folder and project, not workspace...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant