Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ public KeyBindingSupportForAssistant(IQuickAssistAssistant quickAssistAssistant)

@Override
public void assistSessionStarted(ContentAssistEvent event) {
// Do not replace commands twice if several processors are registered. This
// method gets called for each processor.
if (fReplacedCommands != null && !fReplacedCommands.isEmpty()) {
return;
}
ICommandService commandService= PlatformUI.getWorkbench().getService(ICommandService.class);
IHandler handler= getHandler(ContentAssistant.SELECT_NEXT_PROPOSAL_COMMAND_ID);
fReplacedCommands= new ArrayList<>(10);
Expand Down
Loading