Home > Article > Development Tools > How to set php syntax error prompt in sublime?
How to set php error prompts in sublime: 1. Install the "sublimeLinter" and "sublimeLinter-php" plug-ins in the console; 2. Click "User Settings" and add the path of the php package to "User Settings" "Medium; 3. Restart sublime.
#If there is a syntax error when writing PHP code in sublime, how to prompt the syntax error? How to set php syntax error prompt in sublime? The following article will introduce it to you.
sublime sets the php syntax error prompt. First we need to install two plug-ins:
They are:
'sublimeLinter '
'sublimeLinter-php'
Plug-in installation and configuration method
1. Exit the console
2. Enter install package to enter the installation program interface
3. Search for the plug-in and install it in sequence
4. Wait for the automatic installation to complete. The following display will appear. Click User Settings
5. Add the php package Path to user settings
6. Restart sublime
If there is a syntax error when writing PHP code in sublime, a red prompt will appear on the left
Done.
For more programming-related knowledge, please visit: Programming Learning Website! !
The above is the detailed content of How to set php syntax error prompt in sublime?. For more information, please follow other related articles on the PHP Chinese website!