Compartir a través de


Keyboard shortcuts (HTML and JavaScript)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Applies to Windows and Windows Phone](../Image/windows_and_phone_content.png "windows_and_phone_content")

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

Quickstart: Debug HTML and CSS
QuickStart: Debug JavaScript