News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Comment header?

Started by lyrklaunavan, February 18, 2013, 11:46:45 PM

Previous topic - Next topic

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


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?

There is a similar function, but only for new empty files: http://forums.next.codeblocks.org/index.php/topic,16058.msg108388.html#msg108388

oBFusCATed

Another option is to setup an abbreviation
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

lyrklaunavan

Quote from: jens on February 19, 2013, 09:26:17 AM
Quote from: lyrklaunavan on February 19, 2013, 09:09:23 AM
I wanted to ask if Code::Blocks has a similar functionaliity?

There is a similar function, but only for new empty files: http://forums.next.codeblocks.org/index.php/topic,16058.msg108388.html#msg108388

Thanks so much
I will try when I get to home.