Community
Participate
Working Groups
Type partially php keyword, build-in function name, etc. Example: <?php cla| //<--invoke CA here "|". Invoke Code Assist. Press Backspace. Actual: The relevant PHP templates only will be shown in CA list. For example given: class cln closure cls No keywords, functions were suggested. Expected: CA should be refreshed accordingly - templates, keywords, build-in function, variables, etc. Found in PDT M6. The behaviour is the correct one in PDT M5.
*** This bug has been marked as a duplicate of bug 251063 ***
Not exactly duplicate ... bug 251063 seems fixed but the described behaviour here is still the same. CA in "cla|" case gives you class keyword, some functions and class template. Hitting the backspace (only cl| remains) affects the CA in the following way: only the 4 templates class, cln, closure, cls are given (class keyword and functions vanished) Reopening Sylvia Tancheva
Created attachment 157506 [details] patch
Created attachment 161559 [details] patch
Moving to the DLTK issue. Needs to be verified to see if all adopters agree on this patch.
But i think only pdt has seperate template(comment) code assist. If there is only one code assist catogery,it is hard to reproduce this bug.
Looks good.