Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Menus and commands

This page is generated from the command catalogue: every command the IDE offers, grouped by where you find it. The id is the name an agent uses to run the command over MCP. Shortcuts are shown for both keymap schemes, Modern (the default) and Classic, chosen in Tools > Options.

File

CommandShortcutClassic keymapWhat it doesId
New Project…——Create a Cargo project — cargo does it, CrawRAD asks the questionsproject.new
Add Project…——Create a new project inside the open workspace, and list it as a memberproject.add
Add Existing Project…——List a project folder inside the workspace as one of its membersproject.add_existing
Open Project…——Open a project folder — the one named, or the folder pickerproject.open_folder
Open Form…——Open a form (.crawform) — the one named, or the file pickerfile.open_form
Remove from Recent——Take a folder out of the recent projects — the list, never the diskproject.forget_recent
New Form…——Create a new form (.crawform) in the current projectfile.new_form
New Inherited Form…——Create a form that inherits the components and handlers of anotherfile.new_inherited_form
New Component…——Create a user component that inherits an existing one or composes severalfile.new_component
New File…——Create a new Rust file (.rs) in the current projectfile.new_file
Quick Open…Ctrl+PCtrl+OQuickly open any file in the workspacefile.quick_open
SaveCtrl+SCtrl+SSave what is in front — the edited file, or the formfile.save
Save All—Ctrl+Shift+SSave every changed file: the code in every tab, then the formfile.save_all
Reload——Discard changes and reload from diskfile.reload
Close——Close the form — the folder stays openfile.close
Recover Unsaved Work——Bring recovery copies back as unsaved edits — the file on disk stays as it isfile.recover_unsaved
Discard Recovery Copies——Delete recovery copies left by a crashfile.discard_recovery
Keep My Version——Keep your version of the file and overwrite disk on next saveeditor.keep_mine
Reload from Disk——Discard your edits and reload the file from diskeditor.reload_from_disk
Compare with Disk——Open diff review comparing your edits with the disk copyeditor.compare_with_disk

Explorer

CommandShortcutClassic keymapWhat it doesId
Set as Active Project——The project Run and Generate work on (the workspace’s default-members)project.set_active
Toggle folder——Open the member node in the Explorer, or close it when it is openexplorer.toggle_folder
Toggle badge legend——Show or hide What the badges mean at the foot of the Explorerexplorer.toggle_legend
Toggle open editors——Show or hide open editors section in Explorerexplorer.toggle_open_editors
Toggle outline——Show or hide outline section in Explorerexplorer.toggle_outline
Toggle timeline——Show or hide timeline section in Explorerexplorer.toggle_timeline
Open timeline entry——Open local history view comparing the selected entry with current bufferexplorer.open_timeline_entry
Toggle dependencies——Show or hide dependencies section in Explorerexplorer.toggle_dependencies
New File…——Create a new file in the selected folderexplorer.new_file
New Form…——Create a new form (.crawform) in the selected folderexplorer.new_form
New Folder…——Create a new directory in the selected pathexplorer.new_folder
Open——Open selected file in editor or designerexplorer.open
Reveal in File Explorer——Open system file manager showing this file or folderexplorer.reveal
Copy Path——Copy absolute file path to clipboardexplorer.copy_path
Copy Relative Path——Copy relative file path to clipboardexplorer.copy_rel_path
Rename…——Rename selected file or folderexplorer.rename
Delete——Delete selected file or folderexplorer.delete
Refresh Explorer——Refresh explorer file listexplorer.refresh
Collapse Folders in Explorer——Collapse all expanded folders in the explorer treeexplorer.collapse_all

Edit

CommandShortcutClassic keymapWhat it doesId
UndoCtrl+ZCtrl+ZUndo the last changeedit.undo
RedoCtrl+YCtrl+Shift+ZRedo the last undone changeedit.redo
CutCtrl+XCtrl+XCut the selected componentsedit.cut
CopyCtrl+CCtrl+CCopy the selected componentsedit.copy
PasteCtrl+VCtrl+VPaste components from the clipboardedit.paste
DeleteDelDelDelete the selected componentsedit.delete
Select allCtrl+ACtrl+ASelect every component on the formedit.select_all
CutCtrl+XCtrl+XCut the selected text to the clipboardeditor.cut
CopyCtrl+CCtrl+CCopy the selected text to the clipboardeditor.copy
PasteCtrl+VCtrl+VPaste the clipboard’s text at the careteditor.paste
Select allCtrl+ACtrl+ASelect all the text of the fileeditor.select_all
DuplicateCtrl+DCtrl+Shift+DDuplicate the selected componentsedit.duplicate
New action——Add an action to the selected ActionListaction.new
New page——Add a page to the selected PageControl, and open itpage.new
Standard actions…——Add standard actions to the selected ActionListaction.standard
Add all fields——Add one column per field of the grid’s tablecollection.add_all_fields
Lock controlsCtrl+Shift+LCtrl+Shift+LStop components from being moved or resized in the designer — the Inspector still edits themedit.lock_controls
Go to Line and Column——Put the caret on a line and column of the file open in the editoreditor.go_to
Trigger Suggest——Open the completion list at the caret: the component’s fields at once, rust-analyzer’s items when they arriveeditor.complete
Code Templates——Insert a ready snippet at the caret: Tab walks its stopseditor.templates
Toggle Bookmark——Numbered bookmark 1–9 on the caret’s line, or off it (Ctrl+Shift+1…9)editor.toggle_bookmark
Go to Bookmark——The caret to numbered bookmark 1–9 of the file in the editor (Ctrl+1…9)editor.go_to_bookmark
Add documentationCtrl+Alt+DCtrl+Alt+DPublic docs of this item, in the rustdoc format. Shows in cargo doc and docs.rs.editor.add_documentation
Add noteCtrl+Alt+NCtrl+Alt+NPrivate context for developers: why, history, decisions. Never becomes docs.editor.add_note
Add commentCtrl+Alt+MCtrl+Alt+MA short remark on this line, like a review comment. Open or resolved.editor.add_comment

View

CommandShortcutClassic keymapWhat it doesId
Toggle Design/CodeF12F12Switch between the form and the code behind itview.toggle_code
Toggle form sourceAlt+F12Alt+F12Show the form as text, in place of the drawingview.toggle_form_source
Preview——Run the form inside the IDE — no ruler, no handles, no gridview.toggle_live
ProblemsCtrl+Shift+MCtrl+Shift+MShow what the last build reported, and click to go thereview.toggle_problems
Inlay Hints——Show or hide the types rust-analyzer infers, in grey inside the lineseditor.toggle_inlay_hints
Toggle panel——Show the panel, or hide it when it is already the visible tablayout.toggle_panel
Reset Layout——Put every panel back where the IDE ships itlayout.reset
Show panel——Open the panel if it was closed, and focus itlayout.show_panel
Hide panel——Close the panel’s tab — the rail brings it backlayout.hide_panel
Float panel——Detach the panel over the window — it does not leave the IDElayout.float_panel
Move panel to side——Dock the panel against the left, right or bottom edgelayout.move_panel
Stack panel onto another——Put the panel in the same tab group as another panellayout.stack_panel
Apply Desktop Profile——Put the window, docks, Inspector split, font and zoom as the profile has themlayout.apply_profile
Save Desktop Profile——Keep the window, docks, Inspector split, font and zoom under a namelayout.save_profile
Delete Desktop Profile——Forget a saved desktop profilelayout.delete_profile
Zoom inCtrl+Shift+.Ctrl+Shift+.Enlarge the form on the canvas — the form itself does not changeview.zoom_in
Zoom outCtrl+Shift+,Ctrl+Shift+,Shrink the form on the canvas — the form itself does not changeview.zoom_out
Zoom 100%Ctrl+1Ctrl+1Back to actual size — the only zoom where the canvas measures what the app willview.zoom_reset
Zoom in (interface)——Enlarge the whole IDE — menus, panels and the canvas togetherview.ui_zoom_in
Zoom out (interface)——Shrink the whole IDE — menus, panels and the canvas togetherview.ui_zoom_out
Zoom 100% (interface)——Back to the system size — the IDE at the scale the desktop asked forview.ui_zoom_reset
Command PaletteCtrl+Shift+PCtrl+Shift+PSearch and run any command or capability across the IDEview.command_palette

Tools

CommandShortcutClassic keymapWhat it doesId
Manage Code Templates…——Add, change, import and export your code templateseditor.manage_templates
Options…Ctrl+,—Configure IDE settings, designer grid, build targets and ACP agentstools.options
MCP Servers…——Configure connected Model Context Protocol servers and tool integrationstools.mcp
AI Custom Instructions…——Global instructions and context shared with all AI assistant sessionstools.ai_memory
Notes…Ctrl+Shift+NCtrl+Shift+NAdd or edit documentation, a note or a comment at the carettools.sidecar_note

Go

CommandShortcutClassic keymapWhat it doesId
Go to DefinitionCtrl+F12Alt+UpAsk rust-analyzer where the symbol at the caret is defined and go there; Ctrl+Click does the sameeditor.goto_definition
Go BackAlt+LeftAlt+LeftBack to where the last Go to Definition lefteditor.navigate_back
Go ForwardAlt+RightAlt+RightForward again, to where Go Back lefteditor.navigate_forward
Find ReferencesShift+Alt+F12Ctrl+Shift+EnterEvery use of the name at the caret, its declaration included, in the References panel; the generated form source is markededitor.find_references
Show HoverCtrl+KCtrl+Krust-analyzer’s signature and docs for the name at the caret; resting the mouse on a name does the sameeditor.show_hover
Param HintsCtrl+Shift+SpaceCtrl+Shift+Spacerust-analyzer’s signature of the call around the caret, its current parameter marked; typing ( or , opens it, Esc closes iteditor.parameter_hints
Context MenuShift+F10Shift+F10The code editor’s context menu at the caret, as a right click opens it at the pointereditor.context_menu
Go to base form——Open the form this one inherits fromform.open_base

Refactor

CommandShortcutClassic keymapWhat it doesId
Format DocumentShift+Alt+FCtrl+DFormat the whole file with rust-analyzer (rustfmt); one Ctrl+Z undoes it. Not the generated form sourceeditor.format_document
Rename Symbol—Ctrl+Shift+ERename the name at the caret in every file, after a preview, in memory (F2 in the code editor). A component or a handler is renamed from the Object Inspectoreditor.rename_symbol
Quick Fix…Ctrl+.Ctrl+.rust-analyzer’s code actions and quick fixes at the caret (an import, a qualified path, a rewrite); the light bulb on the line says there are someeditor.code_actions
Apply Code Action——Apply one of the code actions offered at the caret (editor.code_actions lists them), by its index from 0; the generated form source is refusededitor.apply_code_action
Fix and Explain——Fix the compiler diagnostic on the caret’s line and explain why in chatchat.fix_explain
Add File to Chat——Put @file in the chat message, without sending itai.add_file_to_chat
Add Selection to Chat——Attach the selected code to the chat message, without sending itai.add_selection_to_chat
Explain Selection——Attach the selected code and ask the chat to explain itai.explain_selection
Review Selection——Attach the selected code and ask the chat for a read-only reviewai.review_selection

rust-analyzer

CommandShortcutClassic keymapWhat it doesId
Reload Workspace——Make rust-analyzer read the Cargo.toml files againlsp.reload_workspace
Restart Server——Stop rust-analyzer and start it againlsp.restart
Stop Server——Stop rust-analyzer; opening a Rust file starts it againlsp.stop

Run

CommandShortcutClassic keymapWhat it doesId
RunF5F9Generate, build and run — with the PROJECT’s generator, not the surface selectorproject.run
Toggle BreakpointF9F5Add or remove the breakpoint on the caret’s line of the file in the editordebug.toggle_breakpoint
Add Watch—Ctrl+F5Watch an expression in the Run and Debug panel — the selection or the word under the caret when none is givendebug.add_watch
Remove Watch——Remove a watch from the Run and Debug panel by its position (0 is the first)debug.remove_watch
Run Without DebuggingCtrl+F5Ctrl+Shift+F9Generate, build and run with no debugger attached — breakpoints are ignoredproject.run_without_debugging
Step OverF10F8Run the stopped program to the next line, over any calldebug.step_over
Step IntoF11F7Run the stopped program into the call on this linedebug.step_into
Step OutShift+F11Shift+F8Run the stopped program until the current function returnsdebug.step_out
PauseF6—Stop the running program where it isdebug.pause
Stop DebuggingShift+F5Ctrl+F2End the program under the debuggerdebug.stop

Project

CommandShortcutClassic keymapWhat it doesId
Open code——Open the generated project in your editorproject.open_editor
Open in editor——Open a file of the project in a tab, next to the designeditor.open
Generate—Ctrl+F9Generate the Cargo project — with the PROJECT’s generator, not the surface selectorproject.generate
Build…Ctrl+Shift+BShift+F9Configure targets, profiles and build projectproject.build_manager
Build All——Build all workspace members with cargo build –workspaceproject.build_all
Clean All——Remove what every workspace member built, with cargo cleanproject.clean_all
Options…——Configure project title and iconproject.options
Run Language——Select language for project execution (empty for system language)project.run_language

Help

CommandShortcutClassic keymapWhat it doesId
Welcome Page——Show the welcome page — templates and recent foldershelp.welcome
Check Environment…——Check the Rust toolchain and build tools this IDE needshelp.environment

Component

CommandShortcutClassic keymapWhat it doesId
Install Package…——Install a component package — the folder with its manifest.jsoncomponent.install
Installed Packages…——What the catalogue loaded — and what it refused, with the reasoncomponent.installed
Add component——Create a component of a class inside a parent, at a given rectanglecomponent.add
Set property——Change a property on one or more components, in a single undo stepcomponent.set_property
Add item——Create an item inside a collection, of the class it declarescomponent.add_item
Reorder——Move a component up or down among its siblingscomponent.reorder
Rename——Change the Name of a component — it is unique in the formcomponent.rename
Bind event——Point an event of a component at a handler function — empty unbinds itevent.bind
Override inherited event——Give an inherited component’s event a handler of this form that calls the base’s firstevent.override
Go to handler——Open this form’s handler of the event in the codeevent.go_to_handler
Go to inherited handler——Open the base form’s handler of the event in the codeevent.go_to_inherited
Revert to inherited——Point the event back at the base’s handler; the method you wrote stays in the codeevent.revert_inherited
Rename event handler——Give the handler of an event a new name, keeping its code — every event bound to it followsevent.rename
Bind property——Bind a component property to a data source — empty source unbinds itbinding.set

Align

CommandShortcutClassic keymapWhat it doesId
Align left——Align leftalign.left
Align centers——Align centersalign.centers
Align right——Align rightalign.right
Align top——Align topalign.top
Align middles——Align middlesalign.middles
Align bottom——Align bottomalign.bottom
Space equally, horizontally——Same gap between components, horizontallyalign.space_horizontally
Space equally, vertically——Same gap between components, verticallyalign.space_vertically

Size

CommandShortcutClassic keymapWhat it doesId
Same width——Match the width of the first selectedalign.same_width
Same height——Match the height of the first selectedalign.same_height
Same size——Match the size of the first selectedalign.same_size

In form

CommandShortcutClassic keymapWhat it doesId
Center horizontally in form——Center the selection in the form, horizontallyalign.center_in_form_h
Center vertically in form——Center the selection in the form, verticallyalign.center_in_form_v

Order

CommandShortcutClassic keymapWhat it doesId
Bring to front——Bring to frontorder.bring_to_front
Bring forward——Bring forwardorder.bring_forward
Send backward——Send backwardorder.send_backward
Send to back——Send to backorder.send_to_back
Renumber tab order——Renumber the tab sequence from 0, removing gapsorder.renumber_tab_order
Earlier in tab order——Move the selected component earlier in the tab sequenceorder.tab_earlier
Later in tab order——Move the selected component later in the tab sequenceorder.tab_later

Designer

CommandShortcutClassic keymapWhat it doesId
Designer Language——Switch visual designer language preview (empty for source English)designer.language
Select Component——Select a component of the form by id (the Object Inspector picker)component.select

Inspector

CommandShortcutClassic keymapWhat it doesId
Open property editor——Open whatever edits this property — the lines editor, the collection editor, the align pickerinspector.open_editor
Open collection editor——Open the dialog of a component’s child collection — the Columns of a Grid, the Panels of a StatusBarinspector.open_collection
Close property editor——Close the property editor without writing anythinginspector.close_editor
Edit events…——Show the Events tab of the selected componentinspector.show_events
Rename——Type a new Name for the selected component in the Inspectorinspector.rename
Toggle property group——Unfold the sub-rows of a property — Rect, Margins, Anchors — or fold them awayinspector.toggle_group
Toggle property category——Fold a category of the Object Inspector — Layout, Advanced — or open it backinspector.toggle_category
Pick picture file——Choose the image file a Picture property shows — the file dialog, or file to skip itinspector.pick_picture
Pick font——Choose the font a Font property shows — the native font dialog, or font to skip itinspector.pick_font
Set property name width——Move the splitter between the names and the values of the Object Inspector — the width of the name column, in pixelsinspector.set_name_width