Skip to main content


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 17:41
Jason Giers is currently offline Jason GiersFriend
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: Sat Oct 12 10:41:24 GMT 2024

Powered by FUDForum. Page generated in 0.03860 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top