The method of setting error prompt of php Code in sublime
This article mainly introduces the method of setting the error prompt of php code in sublime, which is very detailed and has certain reference value. Friends who are interested must finish it!
Sublime php error prompt setting method: first install "sublimeLinter" and "sublimeLinter-php" plug-ins; then click "user Settings"; then add the path of the php package to the "user Settings"; finally, sublime.
There is a plug-in for syntax detection of php code in sublime text 3. If there is a syntax error in writing php code in sublime, you can display a red prompt on the left.
As shown in the figure:
So how does this effect work 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 installer interface
3. Search for plug-ins and install them in turn
4. Wait for the automatic installation to be completed. The following will be displayed. Click user Settings.
5. Add the path of the php package to the user settings
6. Restart sublime
The great task has been completed.
The above is all the content of this article "how to set the error prompt of php code in sublime". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!