Author Topic: New file open  (Read 4063 times)

Offline dayul

  • Single posting newcomer
  • *
  • Posts: 5
New file open
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: New file open
« Reply #1 on: May 31, 2013, 07:20:10 pm »
I always use CTRL+SHIFT+N, which is not exactly the same :)
(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!]

Offline dayul

  • Single posting newcomer
  • *
  • Posts: 5
Re: New file open
« Reply #2 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: New file open
« Reply #3 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).