Utbildning
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:
To open the Command Menu:
To open DevTools, right-click a webpage and then select Inspect.
Click the Customize and control DevTools (
) button, and then select 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:Start typing a keyword, and then select a command from the filtered list.
To show other kinds of Command Menu actions besides Run Command, delete the >
character and then type ?:
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.
Anteckning
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.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Ytterligare resurser
Dokumentation
-
Customize DevTools - Microsoft Edge Developer documentation
A list of ways to customize Microsoft Edge DevTools.
-
Sample code for DevTools - Microsoft Edge Developer documentation
Sample code for Microsoft Edge DevTools.
-
Keyboard shortcuts - Microsoft Edge Developer documentation
The default keyboard shortcuts for Microsoft Edge DevTools.