Quick Reference Card¶
A condensed overview of the most important shortcuts and features. Print this page for a handy desk reference.
Note
Shortcuts are shown as macOS / Windows-Linux. On Windows/Linux, replace Cmd with Ctrl and Option with Alt.
Shortcut |
Action |
|---|---|
|
Go to Definition |
|
Find Usages |
|
Go to Symbol |
|
Search Everywhere |
|
Switch .res / .resi |
|
Go to Implementation |
|
Goto Super (.res -> .resi) |
|
Go to Test |
|
Call Hierarchy |
|
External Documentation |
Shortcut |
Action |
|---|---|
|
Format Code |
|
Intentions / Quick Fix |
|
Surround With |
|
Toggle Comment |
|
Unwrap / Remove |
|
Move Statement |
|
Smart Enter |
|
Optimize Imports |
Shortcut |
Action |
|---|---|
|
Rename |
|
Extract Variable |
|
Extract Function |
|
Inline |
|
Change Signature |
Input |
Result |
|---|---|
|
Trigger Completion |
|
switch expression |
|
pipe chain ( |
|
|
|
|
|
let binding |
|
switch block |
|
React component |
Shortcut |
Action |
|---|---|
|
Run Anything |
Gutter ▶ icon |
Run file |
|
Problems panel |
|
Structure View |
Cmd+N)Generator |
Description |
|---|---|
Switch Arms |
Generate switch cases |
Module Type |
Generate module type |
Make Function |
Record constructor |
Record Value |
Record with defaults |
JSON Encoder |
|
JSON Decoder |
|