Start
Many small partners use sublime to write front-end HTML files, but they may encounter some problems when the browser is opened
For example, you can’t click open in browser to open it in a browser
Today, Xiaobian will teach you to install a plug-in to realize the shortcut key to open the HTML file just written in the browser
Install the view in browser plug-in
First, just open the software & gt
Press the shortcut key Ctrl + Shift + P
Select package control
Then enter PCIP in the search box
At this point, we see the first preferred plug-in package C ontrol:Install Package Let’s just go back and wait for a moment, a search box will appear again
Install the view in browser plug-in
Enter: view. If you don’t have a friend installed, the first plug-in will be [view in browser]
Just press enter. If you have installed the view in browser plug-in, you will not display that plug-in like me
Set the shortcut key to run the code
Above, we have installed the view in browser plug-in. Next, we start to set the shortcut key
The shortcut key is “Ctrl + Shift + B”
Click preferences > key Bindings
Then, in the middle of the “[]” brackets in the blank box on the right, enter:
{ “keys”: [“ctrl+shift+b”], “command”: “open_ in_ browser” },
Then Ctrl + s saves and closes the window
The most crucial step
Set the default opening mode of HTML file to chrome
And then it was
Similar Posts:
- Sublime Text: How to Enable Local Server
- Python skills — XPath helper in Chrome browser
- Android studio debug runtime ADB not responding
- Eclipse’s shortcut Ctrl + Shift + F doesn’t work
- Win7 is unable to install the program to prompt the installer integrity check has failed
- Windows Install Node.js Error: 2503, 2502 [How to Solve]
- [Solved] Error:java: Compilation failed: internal java compiler error
- [Solved] VUE npm run devevents.js:160 throw er; // Unhandled ‘error’ event listen EADDRIN…
- Failed to load the native TensorFlow runtime [Solved]
- [Solved] The printer cannot be connected after Microsoft Win10 patch kb5005565 is updated (0x0000011b)