}
private void initCodeCompletion()
{
HQLCompleteCodeAction hcca = new HQLCompleteCodeAction(getSession().getApplication(), _resources, this, _connectionProvider, _hqlSyntaxHighlightTokenMatcherProxy);
JMenuItem item = addToSQLEntryAreaMenu(hcca, "complete");
_resources.configureMenuItem(hcca, item);
registerKeyboardAction(hcca, _resources.getKeyStroke(hcca));
}