@Nita_Vesa But then you still have to manually change boards, and select the /right/ board, when you switch between .ino files. And… when you download an .ino file, how do you know what board it’s for?
@Joe_Lippa If you read what I’ve written, this is exactly the point of the suggestion. Arduino IDE does not (as you say), and should not (as I say), include project management features. But a standardized way of commenting what board and settings a .ino file expects, with a “wizard” in the ide to suggest those changes when you open a file… that does the job, helps out the newbie, and makes it easier for the pro to develop new projects for the community.
@James_Newton What board it’s for is quite likely mentioned as a comment at the top of the file, or wherever you downloaded it from. Or do you just randomly download .ino-files off of Internet without even checking if you have the device it’s written for?
@Nita_Vesa If you actually read my suggestion, that comment is exactly what I’m talking about using. And it isn’t always included, and sometimes the site doesn’t specify… And to answer your snarky question, YES of course I do! If the code is interesting, I will adapt it to a board I have or purchase the board it needs if I really want to play with that project.
@James_Newton I do agree with you that there is no concept of a project in the arduino ide today. I also agree that introduction of metadata into .ino file(s) is a way to introduce this feature.
That said, going down this route to implement this feature is introducing the concept of a project to some degree by way of metadata within source files but it’s introducing that limited project functionality in a back door sort of way. In short it’s the introduction of some limited project functionality with no actual project file.
I’m sure the suggestion as it’s worded now is one way to get you to where you want to get to with this feature. The question I ask is: is this the best way to introduce this feature? I’m in no way calling the shots here and someone more closely involved with the project might have stronger opinions on direction when considering introducing this type of feature.
As with all things software development related, there’s going to be an easy way to implement this and a more elaborate extensible future proofed way to implement this.
Is there no project coordinator type person available on the github project willing to discuss this with you?
@Joe_Lippa Great points. There is no project coordinator… unless you volunteer to be one. ,o)
@James_Newton I’m not your guy for this crusade. Based on commit volume to this project, it looks like cmaglie is the person most likely to be able to help with ideas and steering guidance for this mini project. He/she’s far and away the most active on this codebase at the moment and has been for some considerable time: https://github.com/arduino/Arduino/graphs/contributors
In addition to that, the project readme advises:
“If you’re interested in modifying or extending the Arduino software, we strongly suggest discussing your ideas on the Developers mailing list before starting to work on them. That way you can coordinate with the Arduino Team and others, giving your work a higher chance of being integrated into the official release https://groups.google.com/a/arduino.cc/forum/#!forum/developers”