Home  >  Article  >  Development Tools  >  How to set php syntax error prompt in sublime?

How to set php syntax error prompt in sublime?

青灯夜游
青灯夜游Original
2020-11-06 17:02:494001browse

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.

How to set php syntax error prompt in 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

How to set php syntax error prompt in sublime?

2. Enter install package to enter the installation program interface

How to set php syntax error prompt in sublime?

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

How to set php syntax error prompt in sublime?

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

How to set php syntax error prompt in sublime?

5. Add the php package Path to user settings

How to set php syntax error prompt in sublime?

6. Restart sublime

If there is a syntax error when writing PHP code in sublime, a red prompt will appear on the left

How to set php syntax error prompt in sublime?

How to set php syntax error prompt in sublime?

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!

Statement:
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