| Enter |
⏎⏎⏎⏎⏎
|
Depending on the context:
-
In a lookup list: select an item.
-
In the editor: enter a new line and set the caret at its beginning.
|
| Tab |
⇥⇥⇥⇥⇥
|
In the editor:
- With selection: indent selected lines.
- Without selection: insert a tab symbol (or corresponding number of space characters).
In a lookup list:
- No code after the caret: select an item.
- Some code after the caret: select an item and substitute the code after the caret with it.
|
| Delete |
⌦⌦⌦⌦⌦
| Depending on the context:
- In the editor: delete selected symbol/block.
- In a usage view: exclude a selected item.
- In other views: remove selected items.
|
| Backspace |
⌫⌫⌫⌫⌫
| Delete a character to the left of the caret. |
| Undo |
⌘Z⌘Z⌘Z⌃Z⌃⇧-
| Undo last operation. |
| Redo |
⇧⌘Z⇧⌘Z⇧⌘Z⌃Y⌃⇧Z
| Redo last undone operation. |
| Cut |
⌘X⌘X⌘X⌃X⇧⌦
| Cut a current line or a selected code block to the Clipboard. |
| Copy |
⌘C⌘C⌘C⌃C⌥C
| Copy a current line or a selected code block to the Clipboard. |
| Paste |
⌘V⌘V⌘V⌃V⌥P
| Paste from the Clipboard to the caret location. |
| Paste from History |
⇧⌘V⇧⌘V⇧⌘V⌃⇧V⌥Y
| Paste selected entry from the Clipboard to the caret location. |
| Up |
↑↑↑↑↑
| Move the caret one line up. |
| Up with Selection |
⇧↑⇧↑⇧↑⇧↑⇧↑
| Move the caret one line up selecting the text. |
| Down |
↓↓↓↓↓
| Move the caret one line down. |
| Down with Selection |
⇧↓⇧↓⇧↓⇧↓⇧↓
| Move the caret one line down selecting the text. |
| Left |
←←←←←
| Move the caret one character to the left. |
| Left with Selection |
⇧←⇧←⇧←⇧←⇧←
| Move the caret one character to the left selecting the text. |
| Right |
→→→→→
| Move the caret one character to the right. |
| Right with Selection |
⇧→⇧→⇧→⇧→⇧→
| Move the caret one character to the right selecting the text. |
| Go to Page Bottom |
⌘⇟⌘⇟⌃⇟⌃⇟
| Move the caret down to the page bottom. |
| Go to Page Bottom with Selection |
⇧⌘⇟⇧⌘⇟⇧⌘⇟⌃⇧⇟⌃⇧⇟
| Move the caret down to the page bottom, selecting the text. |
| Go to Page Top |
⌘⇞⌘⇞⌃⇞⌃⇞
| Move the caret up to the page top. |
| Go to Page Top with Selection |
⇧⌘⇞⇧⌘⇞⇧⌘⇞⌃⇧⇞⌃⇧⇞
| Move the caret up to the page bottom, selecting the text. |
| Page Down |
⇟⇟⇟⇟⇟
| Move the caret one page down. |
| Page Down with Selection |
⇧⇟⇧⇟⇧⇟⇧⇟⇧⇟
| Move the caret one page down, selecting the text. |
| Page Up |
⇞⇞⇞⇞⇞
| Move the caret one page up. |
| Page Up with Selection |
⇧⇞⇧⇞⇧⇞⇧⇞⇧⇞
| Move the caret one page up, selecting the text. |
| Scroll Down |
⌘↓⌃↓
| Scroll the text one line down. |
| Scroll to Center |
⌃M⌃L
| Scroll a line at caret to the center of the screen. |
| Scroll Up |
⌘↑⌃↑
| Scroll the text one line up. |
| Move to Line End |
↘↘↘↘↘
| Move the caret to the end of line. |
| Move to Line End with Selection |
⇧↘⇧↘⇧↘⇧↘⇧↘
| Move the caret to the end of line, selecting the text. |
| Move to Line Start |
↖↖↖↖↖
| Move the caret to the beginning of line. |
| Move to Line Start with Selection |
⇧↖⇧↖⇧↖⇧↖⇧↖
| Move the caret to the beginning of line, selecting the text. |
| Move to Next Word |
⌥→⌥→⌥→⌃→⌃→
| Move the caret to the next word. |
| Move to Next Word with Selection |
⌥⇧→⌥⇧→⌥⇧→⌃⇧→⌃⇧→
| Move the caret to the next word, selecting it. |
| Move to Previous Word |
⌥←⌥←⌥←⌃←⌃←
| Move the caret to the previous word. |
| Move to Previous Word with Selection |
⌥⇧←⌥⇧←⌥⇧←⌃⇧←⌃⇧←
| Move the caret to the previous word, selecting it. |
| Move to Text End |
⌘↘⌘↘⌘↘⌃↘⌃↘
| Move the caret to the end of text. |
| Move to Text End with Selection |
⇧⌘↘⇧⌘↘⇧⌘↘⌃⇧↘⌃⇧↘
| Move the caret to the end of text, selecting it. |
| Move to Text Start |
⌘↖⌘↖⌘↖⌃↖⌃↖
| Move the caret to the beginning of text. |
| Move to Text Start with Selection. |
⇧⌘↖⇧⌘↖⇧⌘↖⌃⇧↖⌃⇧↖
| Move the caret to the beginning of text, selecting it. |
| Select All |
⌘A⌘A⌘A⌃A⌃X, H
| Select the entire text opened in the editor. |
| Delete Line at Caret |
⌘⌫⌘Y⌘D⌃⇧L
| Delete the line where the caret is currently located. |
| Delete to Word End |
⌥⌦⌥⌦⌘⌦⌃⌦⌃⌦
| Delete the word starting from the current caret location up to the word end. |
| Delete to Word Start |
⌥⌫⌥⌫⌘⌫⌃⌫⌃⌫
| Delete the word starting from the current caret location up to the word start. |
| Toggle Insert/Overwrite |
⇧⌫⇧⌫
| Toggle insert/overwrite modes. |
| Duplicate Line or Block |
⌘D⌘D⌃D⌘D
| Duplicate selected block or the line at the caret. |
| Toggle Case |
⇧⌘U⇧⌘U⇧⌘X⌃⇧U⌃⇧U
| Toggle case of the selected text block. |
| Move to Code Block End |
⌥⌘]⌘]⌃]⌃]⌃]
| Move the caret to the current code block end, highlighting the block limits. |
| Move to Code Block End with Selection |
⌥⇧⌘]⇧⌘]⌥⇧⌘]⌃⇧]⌃⇧]
| Move the caret to the current code block end, selecting the code beginning from the
initial caret location. |
| Move to Code Block Start |
⌥⌘[⌘[⌥⌘[⌃[⌃[
| Move the caret to the current code block start, highlighting the block limits. |
| Move to Code Block Start with Selection |
⌥⇧⌘[⇧⌘[⌥⇧⌘[⌃⇧[⌃⇧[
| Move the caret to the current code block start, selecting the code beginning from the
initial caret location.
|
| Start New Line |
⇧⏎⇧⏎⇧⏎⇧⏎⇧⏎
| Start a new line after the current one positioning the caret in accordance with the
current indentation level.
|
| Start New Line Before Current One | ⌥⌘⏎⌥⌘⏎⌥⌘⏎⌃⌥⏎⌃⌥⏎ | Start a new line before the current one. |
| Join Lines |
⌃⇧J⌃⇧J⌃⇧J⌃⇧J⌃⇧J
| Concatenate the selected lines into one or concatenate the line where the caret is currently
located with the next line. |
|
Split Line |
⌘⏎⌘⏎⌘⏎⌃⏎⌃O
|
Split the selected line at the point where the caret is located, leaving the caret at the
end of the first line.
|
| Select Word at Caret |
⌥↑⌘W⌃⇧↑⌃W⌃⌥W
| Select successively increasing code blocks starting from the current caret location.
|
| Unselect Word at Caret |
⌥↓⇧⌘W⌃⇧↓⌃⇧W⌃⇧W
| Remove sequentially the selection made by the action. |
| Indent Selection |
⇥⇥⇥⇥⇥
| Move the selected block to the next indentation level. |
| Unindent Selection |
⇧⇥⇧⇥⇧⇥⇧⇥⇧⇥
| Move the selected block to the previous indentation level. |
| Auto-Indent Lines |
⌃⌥I⌥⌘I⌘I⌃⌥I⌃⌥I
| Indent the current line or selected block
according to the Code Style settings.
|