Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: marmistrz on April 01, 2016, 12:05:56 pm
-
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
-
I do it with Ctrl-Shift-N and just navigate to the folder/directory where I want to save the file.
-
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
-
Thanks you both!!