Sublime Text offers several ways to run your code: Use the keyboard shortcut (Windows/Linux: Ctrl B, macOS: Cmd B) to select Tools > Build System > from the menu bar New Build System" Type "build" in the command palette and select "Build" (Ctrl Shift P/Cmd Shift P) Add the "build_on_save" setting (Preferences > Settings > Users) Install the REPL plugin and use the keyboard shortcut ( Windows/Linux: Ctrl Alt R,ma
#Run code in Sublime Text
Sublime Text is a popular Code editor, which provides multiple ways to run code:
1. Keyboard shortcuts
2. Menu bar
3. Command Panel
4. Build on Save
<code> "build_on_save": true,</code>
This setting will automatically run your code on every save.
5. Sublime REPL Plugin
The REPL (Read-Eval-Print-Loop) plugin allows you to run code directly in Sublime Text. Install the plugin and use the following keyboard shortcuts:
Any of these methods will work for you Code in Sublime Text. Choose the method that best suits your workflow.
The above is the detailed content of How to run the code written in sublime. For more information, please follow other related articles on the PHP Chinese website!