Bug 534739

Summary: [content assist] Add Previous Word Completion
Product: [Eclipse Project] Platform Reporter: Chris W. <jonsnow>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 4.7.3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris W. CLA 2018-05-16 04:03:00 EDT
Currently, there is the word completion functionality (mapped to alt+/ by default) that cycles through candidates in order.

Desirable would be to have this cycling available also in reverse order.

This is useful in situations where one cycled too far and wants to select to previous candidate.

Currently, one has to cycle through the complete list once more.
Comment 1 Chris W. CLA 2018-05-16 04:06:12 EDT
If desirable, I could, with some pointers to the right extension points and helping material, implement such a feature myself and contribute it to the eclipse code base.
Comment 2 Dani Megert CLA 2018-05-16 10:18:04 EDT
(In reply to Chris W. from comment #1)
> If desirable, I could, with some pointers to the right extension points and
> helping material, implement such a feature myself and contribute it to the
> eclipse code base.

See org.eclipse.ui.texteditor.HippieCompleteAction.

You probably want to add #completePrevious to that since you need the current state to go back.