Code::Blocks Forums

User forums => Help => Topic started by: AZ on October 05, 2012, 05:02:36 pm

Title: how to assign a shortcut
Post by: AZ on October 05, 2012, 05:02:36 pm
hello,
 is there a way to assign a shortcut to the execution of the "Astyle"?
what i would like to do is to assign CTRL+S to the "format with Astyle".
thank you
AZ
Title: Re: how to assign a shortcut
Post by: jarod42 on October 05, 2012, 05:20:58 pm
Look at 'Keyboard shortcuts' plugin.

Then configure what you want in Editor settings.
Title: Re: how to assign a shortcut
Post by: AZ on October 05, 2012, 05:28:12 pm
Look at 'Keyboard shortcuts' plugin.

Then configure what you want in Editor settings.
awesome. works as expected. Thank you!
Title: Re: how to assign a shortcut
Post by: AZ on October 05, 2012, 09:30:59 pm
Look at 'Keyboard shortcuts' plugin.

Then configure what you want in Editor settings.

actually it is not working as i hoped - it appears that i can't have the same shortcut assigned to several commands,,,

Any other ideas please?
Title: Re: how to assign a shortcut
Post by: lub094 on January 04, 2014, 03:35:37 am
I can't find how to assign a shortcut for the AStyle function, in which group is it?
Title: Re: how to assign a shortcut
Post by: oBFusCATed on January 04, 2014, 11:38:02 am
You can't unfortunately, because it doesn't add any menu entries in the main menu.