Creating a New Keyboard Shortcut

General questions regarding the usage of CodeLite
User avatar
ColleenKobe
CodeLite Expert
Posts: 130
Joined: Wed Mar 30, 2016 4:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

Creating a New Keyboard Shortcut

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Creating a New Keyboard Shortcut

Post 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
Make sure you have read the HOW TO POST thread
User avatar
ColleenKobe
CodeLite Expert
Posts: 130
Joined: Wed Mar 30, 2016 4:31 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Creating a New Keyboard Shortcut

Post by ColleenKobe »

Thank you!
Post Reply