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

Default Template? #4306

Closed
BeauTurner opened this Issue Feb 16, 2016 · 4 comments

Comments

Projects
None yet
4 participants
@BeauTurner

BeauTurner commented Feb 16, 2016

Is there a template that controls the startup sketch shown? I would like to add a starting bit (Arduino now doing something similar) instead of being blank having the following on new sketches:

void setup() {
// put your setup code here, to run once:

}

void draw() {
// put your main code here, to run repeatedly/loop:

}

@alignedleft

This comment has been minimized.

Show comment
Hide comment
@alignedleft

alignedleft Feb 16, 2016

Member

This isn't a bug, and therefore is a great question for: forum.processing.org

But no, right now, I don't think there is a "template" feature. New sketches are always empty.

Member

alignedleft commented Feb 16, 2016

This isn't a bug, and therefore is a great question for: forum.processing.org

But no, right now, I don't think there is a "template" feature. New sketches are always empty.

@BeauTurner

This comment has been minimized.

Show comment
Hide comment
@BeauTurner

BeauTurner Feb 17, 2016

Thank you for the pointer, posted that to the location shared. If it is not in there, it may be better to mark this as enhancement vs. closed so it goes for consideration for the future.

BeauTurner commented Feb 17, 2016

Thank you for the pointer, posted that to the location shared. If it is not in there, it may be better to mark this as enhancement vs. closed so it goes for consideration for the future.

@REAS

This comment has been minimized.

Show comment
Hide comment
@REAS

REAS Feb 18, 2016

Member

This is the kind of thing we'd like to be covered with a contributed Tool. In fact, there used to be a nice tool, but the developer stopped maintaining it. Sometimes you don't want a setup() and draw() in your program, so we don't think it's good to have it there by default.

Member

REAS commented Feb 18, 2016

This is the kind of thing we'd like to be covered with a contributed Tool. In fact, there used to be a nice tool, but the developer stopped maintaining it. Sometimes you don't want a setup() and draw() in your program, so we don't think it's good to have it there by default.

@benfry

This comment has been minimized.

Show comment
Hide comment
@benfry

benfry Aug 16, 2016

Member

We've a template feature in Processing 3.2: https://github.com/processing/processing/wiki/Templates

Member

benfry commented Aug 16, 2016

We've a template feature in Processing 3.2: https://github.com/processing/processing/wiki/Templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment