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

How to use phpstorm automatic Code completion of php

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains the "php phpstorm automatic code completion how to use", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "php phpstorm automatic code completion how to use" it!

Settings for phpstorm code completion

1. Open the preferences Editor, Live Templates.

2. Click PHP, add Live Template in the upper right corner, click Define below, and check PHP.

3. Add a description, and enter the following code for Template Text

$cond = ['conditions' = >' title like: title:', 'bind' = > [' title' = >'%'. $title.'%']]; $cond ['order'] =' id desc'

When you need to complete the code, use the Tab key

Treatment of failure of phpstorm completion Code

After installing phpstorm, I found that the code highlighting and function automatic prompts were invalidated. Some people on the Internet said that it may be because of Power save mode. I didn't find where this setting was at first.

A system message is found at the information prompt on the bottom panel:

Click Disable Power Save Mode at 17:04:38 Power save mode is onCode insight and other background tasks are disabled.Do not show againDisable Power Save Mode to close and everything is fine. Thank you for your reading, the above is the "php phpstorm automatic code completion how to use" the content, after the study of this article, I believe you on the php phpstorm automatic code completion how to use this problem has a deeper understanding, the specific use also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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

Development

Wechat

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

12
Report