Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of setting error prompt of php Code in sublime

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report