Eclipse. Fuzzy Search in Fast Switch Editor

Using the Keyboard Shortcut Editor (ctrl + E) in Eclipse allows you to navigate the currently open tabs. This worries me: you have to use the wildcard (*) to do a fuzzy search. It seems to be more convenient to use the Open Type functionality (ctrl + shift + T) which supports fuzzy search and then the quick switch editor .

Is there any Eclipse configuration I am missing, or a plugin that will make my life better?

Sincerely.

+3


source to share


2 answers


I use AutoHotKey to auto-type *

whenever I press Ctrl+ E, which is essentially the same as the default Quick Switch Editor.

AutoHotKey Script:



#IfWinActive, ahk_class SWT_Window0
~^e::Send {*}

      

You can also set up something like this for "Open Resource" ( Ctrl+ Shift+ R) and "Quick Outline" ( Ctrl+ O).

+4


source


It has been a while since I asked this question, but I think I have something to add.

GotoFile plugin, I believe, is a good solution to the problem above. It will perform fuzzy searches across all WorkSpace projects.



Be that as it may, it doesn't quite address the "navigate through the currently open tabs" problem, but I decided to improve it a bit. For example, if your search term starts with '.' it will prioritize open tabs (search will be performed for all files, but "." will appear at the top, which will be ignored). Case sensitive fuzzy search (with resource "In" IndexPage.java

will take precedence over index.js

). On startup, only displays a list of currently open tabs (eg Ctrl + E ).

Basically the idea is to have a "single point of access" for the QuickSwitchEditor, OpenType, and OpenResource functions. true, it won't replace them, but it will eliminate 90% of day to day use.

0


source







All Articles