Disabling default comments in a new sketch

I'm not quite sure if I should post this here, or in the Programming Questions subforum, or in any other (but I looked for a subforum for general questions and doesn't seem to be one specifically for that), so I will just post it here.

I will try to keep it short. Basically, when I create a new sketch using the Arduino IDE it appears the usual void setup and void loop, but inside the brackets of those functions it also appears the same comments, the // put your setup code here and // put your main code here. Is there any way of disabling that? Not that it really matters, but it takes me some seconds to highlight it and then delete it, and since I know already what the functions are for I don't really need them anymore.

I don't think it's in the preferences since I've already searched there, so... Any way at all of disabling them? And by disabling it I mean that whenever I create a new sketch those comments simply are not included. Thanks in advance ^^

1 Like

In your Arduino installation, edit the sketch examples\01.Basics\BareMinimum\BareMinimum.ino and remove the comments.

Pete

1 Like

Thank you very much, that's exactly what I was searching for ^^

Better you can add your most used code parts, e.g.

  • setting baud rate for serial,

  • include your favo LCD or other libraries

  • add a metadata header like the one I use

//
//    FILE: .ino
//  AUTHOR: Rob Tillaart
// VERSION: 0.1.00
// PURPOSE: 
//    DATE: 
//     URL:
//
// Released to the public domain
//