Home > Development Tools > sublime > How to show php code error prompts in sublime

How to show php code error prompts in sublime

藏色散人
Release: 2020-07-30 10:06:00
Original
5459 people have browsed it

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.

How to show php code error prompts in sublime

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


##3. Search for the plug-in and install it in sequence


4. Wait for the automatic installation to complete. The following will appear. Click User settings


#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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template