Bug 534739 - [content assist] Add Previous Word Completion
Summary: [content assist] Add Previous Word Completion
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.7.3   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-16 04:03 EDT by Chris W. CLA
Modified: 2018-05-16 10:18 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.