Author Topic: Shortcuts to make writing programs faster.  (Read 3459 times)

syntax_eror

  • Guest
Shortcuts to make writing programs faster.
« on: January 23, 2016, 06:56:24 am »
Hi,

I'm new to Code::Blocks and was wondering if there are shortcuts to make certain actions faster. For example, if my caret is here -

int main(void)|

Can I make it so that when I enter a shortcut it'll automatically enter the brackets and move my caret to the next line. Like so -

int main(void){
    |
}

I know this is possible in Sublime text. I was wondering if I can do it in Code::Blocks.

Here are some other shortcuts that it'd like (see the gif by Alex Cory). - http://stackoverflow.com/questions/14800608/sublime-text-2-move-cursor-out-of-parenthesis-quotes-or-brackets
« Last Edit: January 23, 2016, 07:00:23 am by syntax_eror »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Shortcuts to make writing programs faster.
« Reply #1 on: January 23, 2016, 11:05:25 am »
You have two options:
1. try the abbreviations plugin and see if it is enough
2. write squirrel scripts
(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!]