Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dayul on May 31, 2013, 07:11:58 pm

Title: New file open
Post by: dayul on May 31, 2013, 07:11:58 pm
Hello to all Members,

I am new to Code Blocks.

In Code Block new file open steps are as:

File -> New -> File -> New Form Template -> C++ Source file -> C++ -> File Name with full path.

Is there any Keyboard shortcuts OR Macro to directly open new C++ source file in pre defined location.

Regards
Title: Re: New file open
Post by: oBFusCATed on May 31, 2013, 07:20:10 pm
I always use CTRL+SHIFT+N, which is not exactly the same :)
Title: Re: New file open
Post by: dayul on May 31, 2013, 07:43:15 pm
Thanks for reply.

ctrl+shift+N is for Empty file.I need to open New C++File.
Regards
Title: Re: New file open
Post by: Jenna on May 31, 2013, 08:22:41 pm
Just save it and add it to project.
You must give it the fullname including the ending in both dialogs.
What you do not get in this case is the default code (if you have set in in the editors settins).