title | description | author | ms.author | ms.date | ms.topic | ms.assetid |
---|---|---|---|---|---|---|
Source Editor Common Keyboard Shortcuts |
asb3993 |
amburns |
04/14/2017 |
article |
48E06A61-7294-4EC8-A09D-1763C32AD910 |
This contextually generates code:
⌘ + 1
ctrl + /
Displays refactoring context actions:
Option + Enter
⌘ + Shift + F
Allows quick switching between files:
ctrl + tab
alt up / alt down
Use the Alt-Up command to move the current line or current selected lines up, and use the Alt-Down command to move the lines down. If the language add-in supports it, the lines will be re-indented to match the context when they move in and out of scope.
Moves the caret to the next or previous word:
⌘ + Left/Right
Expands word, sub-expressions, statement, and line member selection in a logical way:
alt shift up
to select
alt shift down
to de-select