REFORMATTED
============
In the example from the wiki [1], the isValid method never gets called for ones
own CompletionContext, I tested it with setting breakpoints on it:
public class XYZCompletionContext extends ClassMemberContext {
public boolean isValid(ISourceModule sourceModule, int offset,
CompletionRequestor requestor) {
//....
}
}
The current behavior from the example is that "helperName()" is added to every
(user) php type, in stead of just type Viewer.
LINKS:
1. https://wiki.eclipse.org/Extending_PDT#Code_assist_strategies
_______________________________________________
pdt-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/pdt-dev