How to run code in Sublime Text
To run code in Sublime Text, you only need to press Ctrl B. Let’s explain it by running js code. Down.
1. First, create a new js file, click Tools - Compilation System - New Compilation System on the menu bar
2, and then enter the command to execute the js file
(Note: Nodejs environment needs to be installed)
3. Save the compilation system to the User directory.
4. Click Compile System again and select the newly created JavaScript.
5. Press Ctrl B to run the code
PHP Chinese website, a lot ofprogramming learning Course, welcome to study!
The above is the detailed content of How to run code in Sublime Text. For more information, please follow other related articles on the PHP Chinese website!