How to set the sublime php error prompt: first install the "sublimeLinter" and "sublimeLinter-php" plug-ins; then click "User Settings"; then add the path of the php package to "User Settings"; finally sublime That’s it.
There is a plug-in for PHP code syntax detection in sublime text 3. If there is a syntax error when writing PHP code in sublime, you can A red prompt sign appears on the left;
## as shown in the picture:
## So this is it How is the effect achieved in the sublime editor?
First we need to install two plug-ins:
They are: 'sublimeLinter','sublimeLinter-php'
1. Call up the console
2. Enter install package to enter the installation program interface
#5. Add php package The path to the user settings
##6. Restart sublime
and you’re done.
The above is the detailed content of How to show php code error prompts in sublime. For more information, please follow other related articles on the PHP Chinese website!