org.netbeans.modules.php.api とその他のコア要素を使用して、新しい CompletionProvider を実装します。( MyCompleter implements CompletionProvider
)
import org.netbeans.modules.php.api.phpmodule.PhpModule;
import org.netbeans.modules.php.api.util.UiUtils;
import org.netbeans.modules.php.api.executable.PhpInterpreter;
そして多分TokenizerとCompletionが役に立つかもしれません
トークナイザー
import org.netbeans.api.lexer.Token;
import org.netbeans.api.lexer.TokenSequence;
完了
import org.netbeans.spi.editor.completion.CompletionProvider;
import org.netbeans.spi.editor.completion.CompletionResultSet;
import org.netbeans.spi.editor.completion.CompletionTask;
import org.netbeans.spi.editor.completion.support.AsyncCompletionQuery;
import org.netbeans.spi.editor.completion.support.AsyncCompletionTask;