In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "PHP/EclipsePHP how to achieve automatic code hint", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "PHP/EclipsePHP how to achieve automatic code hint" this article.
But even with the phpeclipse plug-in installed, features such as automatic code hints are not supported by default, and after installing the plug-in, there is an Auto activation triggers for PHP in the phpeclipse tab of the preferences.
As you can see from the screenshot, code assist is the option to set the autocomplete (content prompt) and set the shortcut key where it is marked.
The default value is $> and can only be set to 4, that is, we need to rely on this shortcut to start automatic completion. What we want to achieve by pressing any key to achieve the startup code prompt is to set this shortcut to all or most of the characters that can be used.
After understanding the above, you can use the following methods to implement automatic code hints:
1. Window-preferences-PHPeclipse Web Development-PHP-codeassist
two。 Check Enable auto activation
3. Change the default value $> to xxxx in Auto actiovation triggers for PHP: (you can type whatever you want, and we'll replace it later).
4. File-Export-normal-preferences-all Export to myconfig.epf
5. Use notepad to open myconfig.epf to find 'xxxx'
Change "$\: >" (this is the default value, that is, the value after the = sign) to "$\: > abcdefghijklmnopqrstuvwxyz (
Note: be sure to add a semicolon ";", otherwise you will not be able to start the code prompt after writing a statement.
This is done so that code hints are automatically started after entering all the above symbols in the code
6. Import this myconfig.epf file
In this way, eclipsephp can automatically prompt the code.
The above is all the contents of the article "how to realize automatic Code hints in PHP/EclipsePHP". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.