Skip to content

[Feature-Request] Open the Arduino IDE with a different skeleton using arduino-cli #733

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

Closed
F-Schmidt99 opened this issue Dec 31, 2021 · 2 comments
Assignees
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@F-Schmidt99
Copy link

When opening the Arduino IDE, this skeleton code will be loaded:

`void setup() {

}

void loop() {

}`

It would be awesome, if a sketch could be created from a file copied.
The command could look like this:

arduino-cli sketch new my_new_program_name --from my_skeleton_file.ino

This feature would be useful for universities, because then you could just create a simple desktop icon which calls this command and then they can start directly without loading an example code and saving a copy from that.

Even better would be an optional flag which would first execute the command and create a new sketch and after that starts the Arduino IDE.

@silvanocerza
Copy link
Contributor

This is a feature for the arduino-ide, moving it there.

@silvanocerza silvanocerza transferred this issue from arduino/arduino-cli Jan 3, 2022
@silvanocerza silvanocerza added the type: enhancement Proposed improvement label Jan 3, 2022
@per1234
Copy link
Contributor

per1234 commented Jan 3, 2022

Thanks for taking the time to submit an issue @F-Schmidt99 .

I see we have another report about this at #373.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as completed Jan 3, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Jan 3, 2022
@per1234 per1234 self-assigned this Jan 3, 2022
@per1234 per1234 added the conclusion: duplicate Has already been submitted label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants