Templates: looses indent on subsequent lines

grrraham
2004-10-08
2013-05-20
  • grrraham

    grrraham - 2004-10-08

    I made a template that covers 3 lines.  All subsequent lines end up at the left margin.  Is there a way to make them respect the current level of indentation?

     
    • Ivan Wills

      Ivan Wills - 2004-10-22

      I would also be interested in this so that I could create templates for loops, if blocks and other structures as I am lazy about typing.

      Thanks

       
    • Sven Eppler

      Sven Eppler - 2005-10-11

      Without this feature the "powerfull Templates" aren't that powerfull in my opionion ;)

      The way i would like it to see:
      Getting indention of the line, where i insert my template. Now put this indention in front of all of the following lines of the template. This way all lines coming from the Template are well formated and i can still do an extra indent within my foreach loop with the template.

      Hope you get what i want to say :D
      if not, just create a template which produces 3 lines of code. Go into the editor, hit 5times tab and insert your template ;)

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks