Results 1 to 2 of 2

Thread: auto load template

  1. #1
    Join Date
    Nov 2008
    Location
    Maine
    Beans
    1,125
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question auto load template

    Hi all,
    I am trying to make a setup of using geany as my defualt compiler for arduino programing. One thing I think is annoying is having to start every program the same way, with:
    Code:
    void setup(){}
    
    void loop(){}
    what I want to do is write a start up script that can load a template with the basics of what i will need. How can i get that done?
    ~Conradin~

  2. #2
    Join Date
    Oct 2005
    Location
    /root
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: auto load template

    Use the Templates folder instead. Create your boilerplate file and save it in your ~/Templates folder. When you want to create a new program, open the folder where you will save the file, right-click > Create Document > boilerplate-filename > rename > open.

    Done.
    Give a man a ghoti, and he'll eat for a day. Teach him how to ghoti, and he'll eat for life.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •