[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] Shaving of keystrokes: extension points?

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