How to quickly find file in the workspace/switch between buffers/etc. in Eclipse?
Asked Answered
A

4

8

I am looking for something like Textmate's fuzzy search on Command-T, FuzzyFinder in Vim, or Ido in Emacs. Does it exist? If no, how do you prefer to do it?

Andi answered 17/5, 2010 at 8:22 Comment(1)
I am still interested in a real fuzzy search, so if i want to search for "user_helper.rb" I just want to write "ushlrb". Eclipse forces you to use patterns, in this case "usrb". Anyone knows a plugin for eclipse for a real fuzzy search?Emplacement
T
14

CTRL + SHIFT + r will search each for any "Resource" (file), anywhere in your project

CTRL + SHIFT + e will search for a specific open file (ie. your buffers)

CTRL + SHIFT + PageUp/PageDown will navigate to the next/previous open buffer

CTRL + SHIFT + Left/Right will navigate backward/forward in your browsing history

(eg. if you went from tab 1 to tab 5 to tab 2 and then hit CTRL+SHIFT+Left, you'd go back to tab 5; you could then hit CTRL+SHIFT+Left to go back to tab 1, or ...+Right to go back to tab 2)

Hope that helps.

Titled answered 17/5, 2010 at 19:14 Comment(0)
D
1

Ctrl+3 gives contextual text search across editors, commands and preferences. I only recently discovered this one - not sure if it was a new feature with Eclipse 3.5.

Dashing answered 17/5, 2010 at 8:49 Comment(0)
P
1

You can use GotoFile plugin. Type Ctrl+Alt+N to use. Works with Eclipse Juno.

Pressroom answered 22/5, 2013 at 14:29 Comment(0)
A
0

Ctrl+Shift+R works for files, Ctrl+Shift+T for types. Still looking for an answer for buffers.

Andi answered 17/5, 2010 at 8:29 Comment(1)
None of these are true "fuzzy" searches. They all require you to enter the beginning of the file name.Kiarakibble

© 2022 - 2024 — McMap. All rights reserved.