Visual Studio Code (Mac) raccourcis clavier

Visual Studio Code (Mac)

Zeynel Abidin Öztürk -
2 ans
- Raccourcis
↑   Maj + ⌘ Cmd + P puis F1

F1 Show Command Palette

⌘ Cmd + P

Quick Open, Go to File

↑   Maj + ⌘ Cmd + N

New window/instance

⌘ Cmd + W

Close window/instance

⌘ Cmd + ,

User Settings

⌘ Cmd + K puis ⌘ Cmd + S

Keyboard Shortcuts

⌘ Cmd + X

Cut line (empty selection)

⌘ Cmd + C

Copy line (empty selection)

βŒ₯ Option + ↑  β†“

Move line up/down

↑   Maj + βŒ₯ Option + ↑  β†“

Copy line up / down

⌘ Cmd + • Entrée

Insert line below

↑   Maj + ⌘ Cmd + • EntrΓ©e

Insert line above

↑   Maj + ⌘ Cmd + \

Jump to matching bracket

⌘ Cmd + ]

Indent/outdent line

ou ⌘ Cmd + [
Debut

Go to beginning of line

End

Go to end of line

⌘ Cmd + ↑

Go to beginning of file

⌘ Cmd + ↓

Go to end of file

Ctrl + ↑  β†“

Scroll line up/down

Control + Pg PrΓ©c

Scroll page up

Control + Pg Suiv

Scroll page down

βŒ₯ Option + ⌘ Cmd + [

Fold (collapse) region

βŒ₯ Option + ⌘ Cmd + ]

Unfold (uncollapse) region

⌘ Cmd + K puis ⌘ Cmd + [

Fold (collapse) all subregions

⌘ Cmd + K puis ⌘ Cmd + ]

Unfold (uncollapse) all subregions

⌘ Cmd + K puis ⌘ Cmd + 0

Fold (collapse) all regions

⌘ Cmd + K puis ⌘ Cmd + J

Unfold (uncollapse) all regions

⌘ Cmd + K puis ⌘ Cmd + C

Add line comment

⌘ Cmd + K puis ⌘ Cmd + U

Remove line comment

⌘ Cmd + /

Toggle line comment

↑   Maj + βŒ₯ Option + A

Toggle block comment

βŒ₯ Option + Z

Toggle word wrap

⌘ Cmd + T

Show all symbols

Control + G

Go to line

⌘ Cmd + P

Go to file

↑   Maj + ⌘ Cmd + O

Go to symbol

↑   Maj + ⌘ Cmd + M

Show Problems panel

F8

Go to next error or warning

↑   Maj + F8

Go to previous error or warning

Ctrl + ↑   Maj + β­Ύ Tab

Navigate editor group history

Ctrl + -

Go back

Ctrl + ↑   Maj + -

Go forward

Ctrl + ↑   Maj + M

Toggle Tab moves focus

⌘ Cmd + F

Find

βŒ₯ Option + ⌘ Cmd + F

Replace

⌘ Cmd + G

Find next

↑   Maj + ⌘ Cmd + G

Find previous

βŒ₯ Option + • EntrΓ©e

Select all occurences of Find match

⌘ Cmd + D

Add selection to next Find match

⌘ Cmd + K puis ⌘ Cmd + D

Move last selection to next Find match

βŒ₯ Option +

Insert cursor

βŒ₯ Option + ⌘ Cmd + ↑  β†“

Insert cursor above / below

⌘ Cmd + U

Undo last cursor operation

↑   Maj + βŒ₯ Option + I

Insert cursor at end of each line selected

⌘ Cmd + I

Select current line

↑   Maj + ⌘ Cmd + L

Select all occurrences of current selection

⌘ Cmd + F2

Select all occurrences of current word

Ctrl + ↑   Maj + ⌘ Cmd + β†’

Expand selection

Ctrl + ↑   Maj + ⌘ Cmd + ←

Shrink selection

↑   Maj + βŒ₯ Option +

Column (box) selection

↑   Maj + βŒ₯ Option + ⌘ Cmd + ←  β†’

Column (box) selection left/right

Maj + Option + Command + Pg PrΓ©c

Column (box) selection page up

Maj + Option + Command + Pg Suiv

Column (box) selection page down

Ctrl + Espace

Trigger suggestion

↑   Maj + ⌘ Cmd + Espace

Trigger parameter hints

↑   Maj + βŒ₯ Option + F

Format document

⌘ Cmd + K puis ⌘ Cmd + F

Format selection

F12

Go to Definition

βŒ₯ Option + F12

Peek Definition

⌘ Cmd + K puis F12

12 Open Definition to the side

⌘ Cmd + .

Quick Fix

↑   Maj + F12

Show References

F2

Rename Symbol

⌘ Cmd + K puis ⌘ Cmd + X

Trim trailing whitespace

⌘ Cmd + K puis M

M Change file language

⌘ Cmd + W

Close editor

⌘ Cmd + K puis F

F Close folder

⌘ Cmd + \

Split editor

⌘ Cmd + 1

Focus into first group

⌘ Cmd + 2

Focus into second group

⌘ Cmd + 3

Focus into third group

⌘ Cmd + K puis ⌘ Cmd + ←  β†’

Focus into previous/next editor group

⌘ Cmd + K puis ↑   Maj + ⌘ Cmd + ←

Move editor left

⌘ Cmd + K puis ↑   Maj + ⌘ Cmd + β†’

Move editor right

⌘ Cmd + K puis ←  β†’

ht Move active editor group

⌘ Cmd + N

New File

⌘ Cmd + O

Open File

⌘ Cmd + S

Save

↑   Maj + ⌘ Cmd + S

Save As

βŒ₯ Option + ⌘ Cmd + S

Save All

⌘ Cmd + W

Close

⌘ Cmd + K puis ⌘ Cmd + W

Close All

Ctrl + ↑   Maj + T

Reopen closed editor

⌘ Cmd + K puis • Entrée

er Keep preview mode editor open

Control + β­Ύ Tab

Open next

Control + ↑   Maj + β­Ύ Tab

Open previous

⌘ Cmd + K puis P

P Copy path of active file

⌘ Cmd + K puis R

R Reveal active file in Explorer

⌘ Cmd + K puis O

O Show active file in new window/instance

Control + ⌘ Cmd + F

Toggle full screen

βŒ₯ Option + ⌘ Cmd + 1

Toggle editor layout (horizontal/vertical)

⌘ Cmd + =

Zoom in

↑   Maj + ⌘ Cmd + -

Zoom out

⌘ Cmd + B

Toggle Sidebar visibility

↑   Maj + ⌘ Cmd + E

Show Explorer / Toggle focus

↑   Maj + ⌘ Cmd + F

Show Search

Control + ↑   Maj + G

Show Source Control

↑   Maj + ⌘ Cmd + D

Show Debug

↑   Maj + ⌘ Cmd + X

Show Extensions

↑   Maj + ⌘ Cmd + H

Replace in files

↑   Maj + ⌘ Cmd + J

Toggle Search details

↑   Maj + ⌘ Cmd + U

Show Output panel

↑   Maj + ⌘ Cmd + V

Open Markdown preview

⌘ Cmd + K puis V

V Open Markdown preview to the side

⌘ Cmd + K puis Z

Z Zen Mode (Esc Esc to exit)

F9

Toggle breakpoint

F5

Start/Continue

↑   Maj + F5

Stop

F11

Step into

↑   Maj + F11

Step out

F10

Step over

⌘ Cmd + K puis ⌘ Cmd + I

Show hover

Control + `

Show integrated terminal

Control + ↑   Maj + `

Create new terminal

⌘ Cmd + C

Copy selection

⌘ Cmd + ↑  β†“

Scroll up/down

Pg PrΓ©c

Scroll page up

Pg Suiv

Scroll page down

⌘ Cmd + Debut

Scroll to top

⌘ Cmd + End

Scroll to bottom


Partager cette page sur:

Abonnez-vous!

Votre email reste confidentiel et nous ñ'envoyons pas de spam.