Keyboard shortcuts (HTML and JavaScript)

Applies to Windows and Windows Phone

Keyboard shortcuts in Visual Studio for debugging Store apps using HTML and JavaScript.

General shortcuts

These shortcuts work across all tools for Store apps using HTML and JavaScript.

Action

Shortcut

Refresh Windows app

Ctrl+Shift+R

Restart Windows app

Ctrl+Shift+F5

Stop debugging

Shift+F5

Open Performance and Diagnostics Hub

Alt+F2

JavaScript Console shortcuts

Use these shortcuts in the JavaScript Console window.

Action

Shortcut

Run a console command

Enter

Clear the console

Esc

Toggle between single-line and multi-line mode

Ctrl+Alt+M

DOM Explorer shortcuts

Use these shortcuts in the DOM Explorer.

Action

Shortcut

Select element

Ctrl+B

Toggle between displaying and hiding webpage highlight boxes when using Select Element

Ctrl+Shift+I

Commit changes using Edit as HTML

Ctrl+Enter

Discard changes using Edit as HTML

Esc

Increase selected CSS value by 1

Up Arrow

Decrease selected CSS value by 1

Down Arrow

See Also

Concepts

Quickstart: Debug HTML and CSS

QuickStart: Debug JavaScript using the console