News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

A quicker way to add new files

Started by marmistrz, April 01, 2016, 12:05:56 PM

Previous topic - Next topic

marmistrz

I'm using Code::Blocks 16.0.1. Now, when I'd like to add a new C source file I have to navigate using my mouse a lot: go to the file submenu, select File, select C/C++ source, select the directory to create it in - too much mouse usage!!

Is there any way to do it more quickly? I'd rather right click on the destination directory, to add the file there, for example.

Still, I'd like to get a template with the include guards

oBFusCATed

I do it with Ctrl-Shift-N and just navigate to the folder/directory where I want to save the file.
(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!]

BlueHazzard

For the guards you can simply type "guard" and press ctrl+J then c::b will add a guard block for you.

For more you can look in "settings->editor->abbreviations"

greetings

marmistrz