クイックリファレンスカード

主要なショートカットと機能の簡潔なまとめです。印刷してデスクリファレンスとしてご利用ください。

注釈

ショートカットは macOS / Windows-Linux の順で表記しています。Windows/Linux では CmdCtrl に、OptionAlt に読み替えてください。

ナビゲーション

Shortcut

Action

Cmd+B / Ctrl+B

Go to Definition

Alt+F7

Find Usages

Cmd+Opt+O / Ctrl+Alt+O

Go to Symbol

Shift Shift

Search Everywhere

Alt+O

Switch .res / .resi

Cmd+Alt+B / Ctrl+Alt+B

Go to Implementation

Cmd+U / Ctrl+U

Goto Super (.res -> .resi)

Cmd+Shift+T / Ctrl+Shift+T

Go to Test

Cmd+Alt+H / Ctrl+Alt+H

Call Hierarchy

Shift+F1

External Documentation

編集

Shortcut

Action

Cmd+Opt+L / Ctrl+Alt+L

Format Code

Alt+Enter

Intentions / Quick Fix

Ctrl+Alt+T

Surround With

Cmd+/ / Ctrl+/

Toggle Comment

Ctrl+Shift+Delete

Unwrap / Remove

Alt+Shift+Up/Down

Move Statement

Shift+Enter

Smart Enter

Cmd+Alt+O / Ctrl+Alt+O

Optimize Imports

リファクタリング

Shortcut

Action

Shift+F6

Rename

Cmd+Alt+V / Ctrl+Alt+V

Extract Variable

Cmd+Alt+M / Ctrl+Alt+M

Extract Function

Cmd+Alt+N / Ctrl+Alt+N

Inline

Cmd+F6 / Ctrl+F6

Change Signature

補完

Input

Result

Cmd+Space / Ctrl+Space

Trigger Completion

expr.switch + Tab

switch expression

expr.pipe + Tab

pipe chain (->)

expr.log + Tab

Console.log(expr)

expr.some + Tab

Some(expr)

let + Tab

let binding

sw + Tab

switch block

comp + Tab

React component

実行とビルド

Shortcut

Action

Ctrl Ctrl

Run Anything

Gutter icon

Run file

Alt+6

Problems panel

Cmd+7 / Alt+7

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.Encode functions

JSON Decoder

JSON.Decode functions