Optional filter text autocomplete support in chevron pop up#3336
Open
elsazac wants to merge 1 commit intoeclipse-platform:masterfrom
Open
Optional filter text autocomplete support in chevron pop up#3336elsazac wants to merge 1 commit intoeclipse-platform:masterfrom
elsazac wants to merge 1 commit intoeclipse-platform:masterfrom
Conversation
b49086d to
466b815
Compare
Contributor
466b815 to
897e653
Compare
91d60f8 to
360601f
Compare
0a325e4 to
843fccb
Compare
Member
Author
|
@merks Would you be able to take a look at this? |
df177b0 to
3f43f46
Compare
Add Autocomplete support in chevron popup with preference toggle in the eclipse Settings->Preference->General page Introduced a new autocomplete behavior for the chevron popup filter text. As the user types, matching editor names are suggested and the remaining part is auto-filled, improving navigation efficiency within the chevron pop up. This is an enhancement done for filtertext and users can enable or disable the autocomplete option based on their preference. This behaviour is controlled through a new preference flag `ENABLE_AUTOCOMPLETE_IN_CHEVRON` stored under `org.eclipse.ui.workbench`. Users can enable or disable the feature in the Workbench Preferences. When disabled, the chevron fitering falls back to the standard filtering behavior. Key changes: - Added `chevronAutocompleteBehavior()` to implement auto completion with suggestion. - Retained existing `normalFilterBehavior()` for plain text filtering incase the user wanted to disable the auto complete feature. - Updated `installFilter()` to switch between behaviors based on user preference - Added `isAutocompleteEnabled()` method to check the preference state
3f43f46 to
7d5f810
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs : #194
This PR address one of the feature suggestion in #194.
This PR includes an autocomplete feature in the chevron popup filter, making it easier to navigate when too many editors are opened in the workbench. As the user types, matching editor names are suggested in the filter text area and the remaining part is auto-filled, improving speed and efficiency in locating editors.
This enhancement is implemented as an optional feature for the filter text in chevron pop up ie, users can enable or disable the autocomplete option based on their preference. A checkbox option to enable and disable the autocomplete behaviour is given in the
Eclipse -> Settings -> Generalpage. The feature is controlled through a new preference flag,ENABLE_AUTOCOMPLETE_IN_CHEVRON, stored underorg.eclipse.ui.workbench. Users can enable or disable autocomplete in the Workbench Preferences, and when disabled, the chevron shows the normal standard filtering behaviour.Key changes:
checkboxin Preference page to let users enable or disable the autocomplete option depending upon their preference.Eclipse -> Settings -> General -> Enable autocomplete option in chevron popupOptionalautocompleteoption.mov