Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Variable length template string
icon5.gif  Variable length template string [message #905590] Thu, 30 August 2012 13:41
Jason Giers is currently offline Jason Giers
Messages: 1
Registered: August 2012
Junior Member
Does anyone know of a way to set up a template for a variable length string? I'm trying to create a template to match the company coding style, which has block comments that look like
/********************************
<Comment>
********************************/


but they always need to end at the same column (80), so if the comment starts inside a block it would be
    /****************************
    <Comment>
    ****************************/


So, is there any way to set up a template to insert a variable number of * with a knowledge of what column to stop at?

Thanks
Previous Topic:Detect the selected word inside a treeviewer cell
Next Topic:subdir.mk not generated properly
Goto Forum:
  


Current Time: Wed Jul 23 10:02:02 EDT 2014

Powered by FUDForum. Page generated in 0.01662 seconds