Home >Development Tools >sublime >How to run code in Sublime Text

How to run code in Sublime Text

angryTom
angryTomOriginal
2020-02-28 13:49:5172833browse

How to run code in Sublime Text

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

How to run code in Sublime Text

2, and then enter the command to execute the js file

(Note: Nodejs environment needs to be installed)

How to run code in Sublime Text

3. Save the compilation system to the User directory. How to run code in Sublime Text

4. Click Compile System again and select the newly created JavaScript.

How to run code in Sublime Text

5. Press Ctrl B to run the code

How to run code in Sublime Text

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn