Is $DB a global variable? If so, and you have your include_path configured in your IDE's project so that it knows where $DB originates, then autocomplete would work for it.
Make IDE treat all variables with same name of particular type
-
16-10-2022 - |
문제
I am using the following code in NetBeans PHP IDE.
/* @var $DB Database */
The problem is everytime I use $DB
I had to include this line for auto complete to work. Is it possible to create a universal line so as to avoid adding it everytime?
올바른 솔루션이 없습니다
다른 팁
제휴하지 않습니다 StackOverflow