sublime text3 How to run the code program: First open Sublime and enter the command [Install Package]; then install the plug-in and start the Strat SublimeServer service; then run the html static page; finally use the browser to run the file. Can.
The operating environment of this tutorial: windows7 system, sublime text3 version, DELL G3 computer
sublime text3 method of running the code program:
1. Open Sublime, use the shortcut key [Ctrl Shift P] or click "Preferences" => "Package control" to enter the plug-in installation panel.
#2. Then enter the command "Install Package" and click on the command that appears below.
#3. Then just enter the plug-in name "sublimeserver" and click on the first search result. The plug-in will be installed automatically. You only need to wait for a while.
4. Then, under "Tools" in the menu, you can find the "SublimeServer" startup function. Click "Strat SublimeServer" to start the server.
5. After starting the server, you need to run the html static page in the server. You cannot use "Open In Browser", but use "View In SublimeServer".
#6. Then the system default browser will be automatically opened to run the file.
Related free learning recommendations:php programming(video)
The above is the detailed content of How to run code program in sublime text3. For more information, please follow other related articles on the PHP Chinese website!