Freewind
Freewind

Reputation: 198188

How to locate to a method in IDEA quickly in the outline by paste method name?

In eclipse, we can press ctrl + o to popup a outline view, and paste some text (copied from somewhere previously) and locate the corresponding method.

But in IDEA, althought there is a similar view (by press ctrl + F12), but it doesn't support pasting, that I have to type the method name manually.

I wonder is it possible to locate the method declaration by pasting in IDEA?

Upvotes: 1

Views: 73

Answers (1)

Mureinik
Mureinik

Reputation: 311018

Use ctrl + F12 to open the dialog. Start typing a (for example) to enter the search, then delete it, and paste.

It's kind of awkward, but it works, and once you get used to it, it really isn't an issue.

Upvotes: 2

Related Questions