快捷指令
bookmark_borderbookmark
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Settings > Shortcuts 会列出聚焦于开发者工具时可以使用的默认快捷键,以加快工作流程。
如需查看默认快捷键的完整列表,请参阅键盘快捷键。
![Visual Studio Code 快捷方式替代项。](https://developer.chrome.com/static/docs/devtools/settings/shortcuts/image/visual-studio-code-shortc-14f21e8baa5ac.png?hl=zh-cn)
自定义快捷方式
如需自定义键盘快捷键,请执行以下操作:
- 打开“设置”。
在快捷键标签页中,将鼠标悬停在任意快捷键上,然后点击
修改按钮。
![修改快捷方式。](https://developer.chrome.com/static/docs/devtools/settings/shortcuts/image/edit-shortcut-0af0ff33e64a9.png?hl=zh-cn)
将光标放在文本栏中,然后按任何方便的按键组合(和弦)。该组合是否已被使用时,开发者工具会通知您。
![此和弦快捷键已被使用。](https://developer.chrome.com/static/docs/devtools/settings/shortcuts/image/a-chord-shortcut-is-alre-b5a41c432ffe.png?hl=zh-cn)
记录新的组合,然后点击
Check 按钮。
![保存新的快捷方式。](https://developer.chrome.com/static/docs/devtools/settings/shortcuts/image/save-new-shortcut-794b1400886c1.png?hl=zh-cn)
如需还原或删除更改,请点击
Back 或
Delete。
为未分配的操作添加快捷方式
默认情况下,开发者工具不会为所有可用操作分配快捷方式。
例如,如需使用按键切换浅色和深色主题偏好设置,请在
设置 > 快捷方式 > 渲染部分中,按照自定义快捷方式中的说明设置您自己的快捷方式。
![使用键盘快捷键切换浅色和深色主题。](https://developer.chrome.com/static/docs/devtools/settings/shortcuts/image/toggle-light-dark-themes-3e4e544945962.png?hl=zh-cn)
恢复默认快捷方式
要恢复默认设置,请点击
设置 > 快捷方式标签页右下角的恢复默认快捷方式。
![恢复默认快捷键。](https://developer.chrome.com/static/docs/devtools/settings/shortcuts/image/restore-default-shortcuts-46703bfa2dbed.png?hl=zh-cn)
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-02-16。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2023-02-16。"],[],[]]