How to get current selected value in the suggested popup while arrow key event (core:move-up/core:move-down) in autocomplete plus?


#1

I am new to atom. I am trying to display react component based on auto suggested selected value. I tried like below

this.subscriptions.add(
atom.commands.add(‘atom-text-editor’, {
‘core:move-up’: event => {
console.log(‘active’, event);
}
})
);

But couldn’t capture move-up/move-down event
help me how to get the current selected value in the suggest popup. Thanks.