編輯

共用方式為


Run commands in the Command Menu

The Command Menu provides a fast way to navigate the Microsoft Edge DevTools UI and accomplish common tasks. The Command Menu is similar to the Command Palette in Visual Studio Code:

Using the Command Menu to disable JavaScript

Video: Customizing Microsoft Edge Developer Tools and quick feature access

Thumbnail image for video "Customizing Microsoft Edge Developer Tools and quick feature access"

Open the Command Menu

To open the Command Menu:

  1. To open DevTools, right-click a webpage and then select Inspect.

  2. Click the Customize and control DevTools (Customize icon) button, and then select Run command:

    The Run Command

    Or, press Ctrl+Shift+P (Windows, Linux) or Command+Shift+P (macOS).

    The Command Menu initially opens with a > character prepended to its text box:

    The command character

  3. Start typing a keyword, and then select a command from the filtered list.

Display other available actions

To show other kinds of Command Menu actions besides Run Command, delete the > character and then type ?:

Other available actions

Available actions include:

  • Open File
  • Run Command
  • Go to Symbol
  • Go to Line
  • Run Snippet

The actions other than Run Command require input, such as a file name or line number.

See also

Note

Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License. The original page is found here and is authored by Kayce Basques.

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.