"Settings - User" and specify the browser path. Open file: Open the file you want to browse in Sublime Text. Jump to the browser: Press Ctrl + B (Windows) or Cmd + B (macOS). View open files: Files will open in your default browser."/> "Settings - User" and specify the browser path. Open file: Open the file you want to browse in Sublime Text. Jump to the browser: Press Ctrl + B (Windows) or Cmd + B (macOS). View open files: Files will open in your default browser.">
Home > Article > Development Tools > How to jump to the browser in sublime
如何在 Sublime Text 中快速跳转到浏览器
在 Sublime Text 中,可以轻松地在编辑器中打开文件并直接跳转到浏览器中查看。此功能对于快速验证代码更改或访问所需文件非常有用。
步骤:
配置浏览器打开命令:
<code>"open_browser_command": "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe %s"</code>
C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe
为你计算机上 Chrome 安装的路径。打开文件:
跳转到浏览器:
Ctrl
+ B
。Cmd
+ B
。查看已打开的文件:
高级设置:
--new-tab
或 --incognito
,可以在特定标签或隐身模式中打开文件。The above is the detailed content of How to jump to the browser in sublime. For more information, please follow other related articles on the PHP Chinese website!