User forums > General (but related to Code::Blocks)
Comment header?
lyrklaunavan:
I was using DevC++. It had a option under EDIT/INSERT/COMMENT HEADER to add comment header automatically. I switched to Code::Blocks. Does Code::Blocks have this option? I am searching internet but could not find any info on how to do that.
Thanks
scarphin:
Are you trying to comment selected line(s)?
=> ctrl-shift-c to comment
=> ctrl-shift-x to uncomment
lyrklaunavan:
--- Quote from: scarphin on February 19, 2013, 12:53:23 am ---Are you trying to comment selected line(s)?
=> ctrl-shift-c to comment
=> ctrl-shift-x to uncomment
--- End quote ---
What I mean is before any program it automatically stamps creation time of program, name, and other details like
//Program Name:
//Date:
//Author:
//Version
automatically in DEVC++ by EDIT/INSERT/COMMENT HEADER.
I wanted to ask if Code::Blocks has a similar functionaliity?
Jenna:
--- Quote from: lyrklaunavan on February 19, 2013, 09:09:23 am ---I wanted to ask if Code::Blocks has a similar functionaliity?
--- End quote ---
There is a similar function, but only for new empty files: http://forums.codeblocks.org/index.php/topic,16058.msg108388.html#msg108388
oBFusCATed:
Another option is to setup an abbreviation
Navigation
[0] Message Index
[#] Next page
Go to full version