Author Topic: how to assign a shortcut  (Read 5134 times)

Offline AZ

  • Almost regular
  • **
  • Posts: 151
how to assign a shortcut
« 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
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline jarod42

  • Multiple posting newcomer
  • *
  • Posts: 87
Re: how to assign a shortcut
« Reply #1 on: October 05, 2012, 05:20:58 pm »
Look at 'Keyboard shortcuts' plugin.

Then configure what you want in Editor settings.

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: how to assign a shortcut
« Reply #2 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!
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

Offline AZ

  • Almost regular
  • **
  • Posts: 151
Re: how to assign a shortcut
« Reply #3 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?
CB: nightly build .
Thread model: posix
gcc version 5.1.1 20150618 (Red Hat 5.1.1-4) (GCC)

lub094

  • Guest
Re: how to assign a shortcut
« Reply #4 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: how to assign a shortcut
« Reply #5 on: January 04, 2014, 11:38:02 am »
You can't unfortunately, because it doesn't add any menu entries in the main menu.
(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!]