Results 1 to 10 of 10

Thread: perl template for geany

  1. #1
    Join Date
    Jan 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    perl template for geany

    change the entension to .perl and plop this baby into ~/.geany/templates, restart geany

    voila, you have a perl template
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2006
    Beans
    144

    Re: perl template for geany

    looks good, I will try it later.

  3. #3
    Join Date
    Aug 2006
    Location
    Wherever Binary Flows
    Beans
    149
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: perl template for geany

    Very nice, just what I was looking for!
    Who is General Failure, and why is he reading my hard drive?

    When your problem has been solved, please click on 'Thread Tools' and then 'Mark Thread as Solved' so others can find the answer too!

  4. #4
    Join Date
    Aug 2006
    Beans
    3

    Re: perl template for geany

    Years later, just what I needed and saved me time.

    ~/.config/geany/templates/filetype.perl in Jaunty.

  5. #5
    Join Date
    Jan 2006
    Location
    UK
    Beans
    34
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: perl template for geany

    Quote Originally Posted by Xyc0 View Post
    Years later, just what I needed and saved me time.

    ~/.config/geany/templates/filetype.perl in Jaunty.
    Same here

    Thank you!!

  6. #6
    Join Date
    Jun 2009
    Beans
    1

    Re: perl template for geany

    yes! Thanks

  7. #7
    Join Date
    Mar 2008
    Location
    Mumbai, India
    Beans
    126
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: perl template for geany

    Thanks for this.
    Is there a way to create & add code snippets in the middle existing open file ?

  8. #8
    Join Date
    May 2011
    Beans
    7

    Re: perl template for geany

    Sorry guys, I am new to Ubuntu.

    I understand how it works but I am not able to find reach the destination, I mean ~/.geany/templates folder.
    Any help?

    Thanks

  9. #9
    Join Date
    Jun 2011
    Location
    Ireland
    Beans
    3
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: perl template for geany

    Quote Originally Posted by sudoalb View Post
    Sorry guys, I am new to Ubuntu.

    I understand how it works but I am not able to find reach the destination, I mean ~/.geany/templates folder.
    Any help?

    Thanks
    You need to move the file to the geany templates folder. This can be done in Natty Narwhal through terminal with the following command:

    Code:
    sudo mv Downloads/filetype.pl /usr/share/geany/templates/files/filetype.pl

  10. #10
    Join Date
    Jan 2006
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: perl template for geany

    geany templates have been changed in how they have to be set up. the way described in this thread is inaccurate.
    I am infallible, you should know that by now.
    "My favorite language is call STAR. It's extremely concise. It has exactly one verb '*', which does exactly what I want at the moment." --Larry Wall
    (02:15:31 PM) ***TimToady and snake oil go way back...
    42 lines of Perl - SHI - Home Site

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
  •