Home  >  Q&A  >  body text

How to make methods under classes automatically complete in sublime?

自动补全的设置.png

I now use the sublime editor as a PHP learning and development tool. When I followed the study, I found that when Teacher Zhu entered the getLastInsID method under the Db class, he only needed to enter get. It will bring out 3 methods under the Db class containing get, and then quickly select one of the methods to complete.

But I tried the same operation but couldn't bring up the method containing the get keyword under the Db class. Could you please tell me how to configure sublime to achieve this function?

Binbin(斌斌老师)Binbin(斌斌老师)2004 days ago913

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2019-03-28 17:37:39

    Hello, I am using phpstorm for teaching, and these plug-ins are installed built-in;

    If you are using sublime text3, you can go to its plug-in official website: packagecontrol.io to search for PHP related Install the plug-in;

    packagecontrol.io. This website is slow to access or cannot be opened in China. I believe this problem will not trouble you


    reply
    0
  • Cancelreply