Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.26 KB

keyboard-shortcuts.md

File metadata and controls

62 lines (35 loc) · 1.26 KB
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

Common keyboard shortcuts in Visual Studio for Mac

Show code generation window

This contextually generates code:

⌘ + 1

This contextually generates code

Autocomplete

ctrl + /

Quick fixes and actions

Displays refactoring context actions:

Option + Enter

Displays context actions

Find in files

⌘ + Shift + F

File Switcher

Allows quick switching between files:

ctrl + tab

Move lines around in Editor

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.

Word navigation

Moves the caret to the next or previous word:

⌘ + Left/Right

Expands the Selection

Expands word, sub-expressions, statement, and line member selection in a logical way:

alt shift up to select alt shift down to de-select