Tutorial: Features and Hotkeys in Quorum Studio
What can this thing do?Features and Hotkeys in Quorum Studio
Development Environments often have many helpful features available that help us interact with code online, edit our documents, or run the source code or scenes we are creating. In this tutorial, we will go over the major features available and the hotkeys we can use to access them from the keyboard. Not every user needs all of these features, but knowing they exist is helpful in learning what is possible inside of a computer programming environment. This document covers only the default settings.
File Menu (ALT + F)
The file menu helps us in creating, opening, and closing a Quorum project in Quorum Studio.
Name | Key | Description |
---|---|---|
New Project | CTRL + N (PC), CMD + N (Mac) | Create a new project |
Open Project | CTRL + O (PC), CMD + O (Mac) | Open an existing project |
Close Project | CTRL + W (PC), CMD + W (Mac) | Closes the project highlighted in the project tree |
New File | CTRL + SHIFT + N (PC), CMD + SHIFT + N (Mac) | Creates a new file in the selected folder. |
Save | CTRL + S (PC), CMD + S (Mac) | Saves a file or scene |
Save All | CTRL + SHIFT + S (PC), CMD + SHIFT + S (Mac) | Saves all open files |
Exit | CTRL + Q (PC), CMD + Q (Mac) | Quits Quorum Studio |
Edit Menu (ALT + E)
The edit menu helps us in using the text editor, including undoing and redoing edits in our program. It also includes a way to access properties for our projects, which can change how Quorum creates our software. For example, we can open the properties window, ask Quorum to automatically fix certain kinds of errors in our code, or turn on code completion, which is a pop-up menu that shows us information about the code we are writing. Common hotkeys we may want to memorize are for hint usage, ALT + ENTER, undo/redo keys like CTRL or CMD + C/Z, and those for code completion, CTRL + SPACE. Each of these is useful for learning to code and working in practice.
Name | Key | Description |
---|---|---|
Undo | CTRL + Z (PC), CMD + Z (Mac) | Undo the previous event |
Redo | CTRL + Y (PC), CMD + Y (Mac) | Redo the previous event |
Cut | CTRL + X (PC), CMD + X (Mac) | Cut the item |
Copy | CTRL + C (PC), CMD + C (Mac) | Copy the item |
Paste | CTRL + V (PC), CMD + V (Mac) | Paste the item |
Delete | DELETE | Delete the selection |
Select All | CTRL + A (PC), CMD + A (Mac) | Select all items for this component |
Find | CTRL + F (PC), CMD + F (Mac) | Open the Find Dialog |
Replace | CTRL + H (PC), CMD + H (Mac) | Open the Replace Dialog |
Comment | CTRL + / (PC), CMD + / (Mac) | Comment or uncomment a selection of lines |
Do Hint | ALT + ENTER | Automatically pick the top hint for this source line |
Code Completion | CTRL + SPACE | Open the Code Completion menu in the editor |
Edit Properties | CTRL + P (PC), CMD + P (Mac) | Pull up the properties window for a project |
View Menu (ALT + V)
The view menu has largely two features. The first is zoom, which scales up the environment while trying to keep it readable. Second, there are two accessibility keys, one to ask the system to summarize the current state of the component we are in and another, where am I, that tries to give location information about a component. Not all components have these keys hooked up, but they can provide context and information specifically to screen reader users.
Name | Key | Description |
---|---|---|
Zoom In | CTRL + = (PC), CMD + = (Mac) | Make everything larger |
Zoom Out | CTRL + - (PC), CMD + - (Mac) | Make everything smaller |
Navigate Menu (ALT + N)
This menu provides access to navigating around in specifically the text editor. Notably, there are several keys that help us logically navigate source code. These include keys to jump to the next action, keys to jump to or back to the next or previous scope, keys to move to the end or beginning of the file, and keys to move to the next status message in the gutter. This menu also gives us access to a Go To dialog, which lets us jump to a line of code, and a jump to feature that we can use on specific lines of code to logically jump to a library in Quorum Source.
Name | Key | Description |
---|---|---|
Go to Line | CTRL + G (PC), CMD + G (Mac) | Go to a line in the source editor |
Previous Action | CTRL + PAGE_UP (PC), CTRL + PAGE_UP (Mac) | Goes to the previous action in the source |
Next Action | CTRL + PAGE_DOWN (PC), CTRL + PAGE_DOWN (Mac) | Goes to the next action in the source |
Previous Scope | CTRL + [ (PC), CTRL + CMD + LEFT (Mac) | Goes to the previous scope |
Next Scope | CTRL + ] (PC), CTRL + CMD + RIGHT (Mac) | Goes to the next scope |
Jump to Selected | CTRL + J (PC), CMD + J (Mac) | Navigate to Declaration |
Start of File | CTRL + HOME (PC), CMD + UP (Mac) | Goes to the start of a file |
End of File | CTRL + END (PC), CMD + DOWN (Mac) | Goes to the end of a file |
Previous Status | SHIFT + CONTROL + UP (PC), SHIFT + CTRL + CMD + UP (Mac) | Goes to the previous edit status location |
Next Status | SHIFT + CONTROL + DOWN (PC), SHIFT + CTRL + CMD + DOWN (Mac) | Goes to the next edit status location |
Run Menu (ALT + R)
The run menu contains hotkeys for running, debugging, and building Quorum code. Generally, building and running code is so common that these keys may be worth memorizing. Besides running and debugging, there are keys included here to send code to an android device and to change where a program starts running from.
Name | Key | Description |
---|---|---|
Build | CONTROL + B (PC), CMD + B (Mac) | Builds the current project |
Clean and Build | CONTROL + SHIFT + B (PC), CMD + SHIFT + B (Mac) | Cleans then Builds the current project |
Clean | F5 | Removes all build files from the current project |
Run | CONTROL + R (PC), CMD + R (Mac) | Runs the current project |
Debug | CONTROL + D (PC), CMD + D (Mac) | Debugs the current project |
Stop Debugging | CONTROL + E (PC), CMD + E (Mac) | Stops the debugger if it is running |
Pause | CONTROL + F7 (PC), CMD + F7 (Mac) | Pauses the debugger |
Continue | CONTROL + F8 (PC), CMD + F8 (Mac) | Continues in the debugger |
Step Over | CONTROL + F9 (PC), CMD + F9 (Mac) | Steps over a line of code |
Step Into | CONTROL + F10 (PC), CMD + F10 (Mac) | Steps into a line of code |
Step Out | CONTROL + F11 (PC), CMD + F11 (Mac) | Steps out of a scope |
Run to Cursor | CONTROL + F12 (PC), CMD + F12 (Mac) | Run the debugger to the cursor |
Toggle Breakpoint | CONTROL + K (PC), CMD + K (Mac) | Toggle a breakpoint on this line |
Send to Android | CONTROL + SHIFT + A (PC), CMD + SHIFT + A (Mac) | Send a program to Android |
Send to iOS | CMD + SHIFT + I (Mac) | Send a program to iOS |
Set Program Start | CONTROL + T (PC), CMD + T (Mac) | Set the start of a program |
Team Menu (ALT + T)
The team menu allows projects versioned under the Git version control system to be used directly from within Quorum Studio. By default, each hotkey allows us to query for information, which is placed into Quorum's console. For example, we can request the status of our current version, commit code to our local system, pull code from a server on github.com or bitbucket.com, or push our code to the remote system. We strongly encourage any group doing team projects to adopt these features and use them. Other version control systems, like mercurial, subversion, or others are not supported.
Name | Key | Description |
---|---|---|
Clone | CONTROL + SHIFT + O (PC), CMD + SHIFT + O (Mac) | Pull up the clone dialog |
Pull | CONTROL + SHIFT + L (PC), CMD + SHIFT + L (Mac) | Get files from a remote server |
Status | CONTROL + SHIFT + S (PC), CMD + SHIFT + S (Mac) | Check the status of local files |
Add | CONTROL + SHIFT + D (PC), CMD + SHIFT + D (Mac) | Add an individual file |
Add Project Files | CONTROL + SHIFT + A (PC), CMD + SHIFT + A (Mac) | Add all source files |
Commit | CONTROL + SHIFT + C (PC), CMD + SHIFT + C (Mac) | Commit local files to the repository |
Push | CONTROL + SHIFT + P (PC), CMD + SHIFT + P (Mac) | Send files to remote server |
Window Menu (ALT + W)
The windows menu provides hotkeys for navigating around the windows of Quorum Studio with the keyboard. Two common keys to know are F6 and SHIFT + F6, which move to the next window in a sequence of windows. Besides these, we recommend knowing at least the keys to move between the tree (CTRL + 0 on PC or CMD + 0 on Mac) and the project tree (CTRL + 1 on PC or CMD + 1 on Mac).
Name | Key | Description |
---|---|---|
Next Focus | F6 | Moves the focus to the next window |
Previous Focus | SHIFT + F6 | Moves the focus to the previous window |
Projects | CONTROL + 1 (PC), CMD + 1 (Mac) | Move to the project window |
Editor | CONTROL + 2 (PC), CMD + 2 (Mac) | Move to the currently selected text editor |
Console | CONTROL + 3 (PC), CMD + 3 (Mac) | Move to the console |
Errors | CONTROL + 4 (PC), CMD + 4 (Mac) | Move to the compiler error tab |
Variables | CONTROL + 5 (PC), CMD + 5 (Mac) | Move to the variables tab for the debugger |
Breakpoints | CONTROL + 6 (PC), CMD + 6 (Mac) | Move to a list of all breakpoints |
Call Stack | CONTROL + 7 (PC), CMD + 7 (Mac) | Move to the call stack for a program running in the debugger |
Search Results | CONTROL + 8 (PC), CMD + 8 (Mac) | Move to the search results tab for find/replace |
Help Menu (ALT + H)
The help menu does not have any hotkeys, but contains two options, an about window that says the version number for Quorum Studio and the Check for Updates item. Check for updates, for Quorum Studio version 2.0 or higher, will automatically update itself to the next version.
Name | Key | Description |
---|---|---|
About | None | Pulls up the about dialog. |
Next Tutorial
In the next tutorial, we will discuss types, which describes how to use primitive data types.