Page 1 of 1

Creating a New Keyboard Shortcut

Posted: Wed Apr 06, 2016 9:18 pm
by ColleenKobe
Hi! I would like to create a keyboard shortcut to do the following:

Clean Workspace
Build Workspace
Run

I do those three things every time I want to test my code, and it would be very handy to be able to do them on a single keystroke, instead of three keystrokes. F12 would be a good choice.

So I went to Settings, Keyboard Shortcuts, and clicked "Build." I saw what actions were already assigned to certain keystrokes. But I wasn't sure how to add a new keyboard shortcut.

How do I assign a keyboard shortcut to those three actions?

Thank you!

Colleen

Re: Creating a New Keyboard Shortcut

Posted: Wed Apr 06, 2016 9:49 pm
by eranif
ColleenKobe wrote:Clean Workspace
Build Workspace
Run

I do those three things every time I want to test my code
Why?
A simple Ctrl-F9 (Build menu->Build and Run) will do the trick
ColleenKobe wrote:How do I assign a keyboard shortcut to those three actions?
You can't. You can only assign a keyboard shortcut to a known actions

Eran

Re: Creating a New Keyboard Shortcut

Posted: Wed Apr 06, 2016 9:51 pm
by ColleenKobe
Thank you!