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.

File Menu Options
Name Key Description
New ProjectCTRL + N (PC), CMD + N (Mac)Create a new project
Open ProjectCTRL + O (PC), CMD + O (Mac)Open an existing project
Close ProjectCTRL + W (PC), CMD + W (Mac)Closes the project highlighted in the project tree
New FileCTRL + SHIFT + N (PC), CMD + SHIFT + N (Mac)Creates a new file in the selected folder.
SaveCTRL + S (PC), CMD + S (Mac)Saves a file or scene
Save AllCTRL + SHIFT + S (PC), CMD + SHIFT + S (Mac)Saves all open files
ExitCTRL + 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.

Edit Menu Options
Name Key Description
UndoCTRL + Z (PC), CMD + Z (Mac)Undo the previous event
RedoCTRL + Y (PC), CMD + Y (Mac)Redo the previous event
CutCTRL + X (PC), CMD + X (Mac)Cut the item
CopyCTRL + C (PC), CMD + C (Mac)Copy the item
PasteCTRL + V (PC), CMD + V (Mac)Paste the item
DeleteDELETEDelete the selection
Select AllCTRL + A (PC), CMD + A (Mac)Select all items for this component
FindCTRL + F (PC), CMD + F (Mac)Open the Find Dialog
ReplaceCTRL + H (PC), CMD + H (Mac)Open the Replace Dialog
CommentCTRL + / (PC), CMD + / (Mac)Comment or uncomment a selection of lines
Do HintALT + ENTERAutomatically pick the top hint for this source line
Code CompletionCTRL + SPACEOpen the Code Completion menu in the editor
Edit PropertiesCTRL + 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.

View Menu Options
Name Key Description
Zoom InCTRL + = (PC), CMD + = (Mac)Make everything larger
Zoom OutCTRL + - (PC), CMD + - (Mac)Make everything smaller

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.

Navigate Menu Options
Name Key Description
Go to LineCTRL + G (PC), CMD + G (Mac)Go to a line in the source editor
Previous ActionCTRL + PAGE_UP (PC), CTRL + PAGE_UP (Mac)Goes to the previous action in the source
Next ActionCTRL + PAGE_DOWN (PC), CTRL + PAGE_DOWN (Mac)Goes to the next action in the source
Previous ScopeCTRL + [ (PC), CTRL + CMD + LEFT (Mac)Goes to the previous scope
Next ScopeCTRL + ] (PC), CTRL + CMD + RIGHT (Mac)Goes to the next scope
Jump to SelectedCTRL + J (PC), CMD + J (Mac)Navigate to Declaration
Start of FileCTRL + HOME (PC), CMD + UP (Mac)Goes to the start of a file
End of FileCTRL + END (PC), CMD + DOWN (Mac)Goes to the end of a file
Previous StatusSHIFT + CONTROL + UP (PC), SHIFT + CTRL + CMD + UP (Mac)Goes to the previous edit status location
Next StatusSHIFT + 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.

Run Menu Options
Name Key Description
BuildCONTROL + B (PC), CMD + B (Mac)Builds the current project
Clean and BuildCONTROL + SHIFT + B (PC), CMD + SHIFT + B (Mac)Cleans then Builds the current project
CleanF5Removes all build files from the current project
RunCONTROL + R (PC), CMD + R (Mac)Runs the current project
DebugCONTROL + D (PC), CMD + D (Mac)Debugs the current project
Stop DebuggingCONTROL + E (PC), CMD + E (Mac)Stops the debugger if it is running
PauseCONTROL + F7 (PC), CMD + F7 (Mac)Pauses the debugger
ContinueCONTROL + F8 (PC), CMD + F8 (Mac)Continues in the debugger
Step OverCONTROL + F9 (PC), CMD + F9 (Mac)Steps over a line of code
Step IntoCONTROL + F10 (PC), CMD + F10 (Mac)Steps into a line of code
Step OutCONTROL + F11 (PC), CMD + F11 (Mac)Steps out of a scope
Run to CursorCONTROL + F12 (PC), CMD + F12 (Mac)Run the debugger to the cursor
Toggle BreakpointCONTROL + K (PC), CMD + K (Mac)Toggle a breakpoint on this line
Send to AndroidCONTROL + SHIFT + A (PC), CMD + SHIFT + A (Mac)Send a program to Android
Send to iOSCMD + SHIFT + I (Mac)Send a program to iOS
Set Program StartCONTROL + 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.

Team Menu Options
Name Key Description
CloneCONTROL + SHIFT + O (PC), CMD + SHIFT + O (Mac)Pull up the clone dialog
PullCONTROL + SHIFT + L (PC), CMD + SHIFT + L (Mac)Get files from a remote server
StatusCONTROL + SHIFT + S (PC), CMD + SHIFT + S (Mac)Check the status of local files
AddCONTROL + SHIFT + D (PC), CMD + SHIFT + D (Mac)Add an individual file
Add Project FilesCONTROL + SHIFT + A (PC), CMD + SHIFT + A (Mac)Add all source files
CommitCONTROL + SHIFT + C (PC), CMD + SHIFT + C (Mac)Commit local files to the repository
PushCONTROL + 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).

Window Menu Options
Name Key Description
Next FocusF6Moves the focus to the next window
Previous FocusSHIFT + F6Moves the focus to the previous window
ProjectsCONTROL + 1 (PC), CMD + 1 (Mac)Move to the project window
EditorCONTROL + 2 (PC), CMD + 2 (Mac)Move to the currently selected text editor
ConsoleCONTROL + 3 (PC), CMD + 3 (Mac)Move to the console
ErrorsCONTROL + 4 (PC), CMD + 4 (Mac)Move to the compiler error tab
VariablesCONTROL + 5 (PC), CMD + 5 (Mac)Move to the variables tab for the debugger
BreakpointsCONTROL + 6 (PC), CMD + 6 (Mac)Move to a list of all breakpoints
Call StackCONTROL + 7 (PC), CMD + 7 (Mac)Move to the call stack for a program running in the debugger
Search ResultsCONTROL + 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.

Help Menu Options
Name Key Description
AboutNonePulls up the about dialog.

Next Tutorial

In the next tutorial, we will discuss types, which describes how to use primitive data types.