Reputation: 63
I know there is a Ctrl+Space dialog box that show the methods options that I have. But if i have a method that I not fully remember the name of it and I remember only a part of the name.
For example: There is a big static class which contains tons of methods starting with "add"
add1_Buffer, add2_Render, add7_Function and so on.. now I don't remember the fully name but i remember only "Buffer".
so I want to type "buffer" press Ctrl+Space and get the "add1_Buffer" method and all the names that contain the name "buffer" in it.
Edit: By the way, i need it on the OpenGL api where there are tons of functions and i am not familiar with all of them i know only keywords, I was searching for something like in visual studio that is really fast and easy.
Upvotes: 6
Views: 1654
Reputation: 48105
If you start typing the a
in add1_Buffer
and then an upper B
and then press Ctrl + Space you will find the correct method.
You can then continue writing the word Buffer
if there are more methods starting with add
and then having an upper B
.
This means that you'll have to remember at least the first part of your method but hopefully you do.
Upvotes: 3
Reputation: 22080
Add the CodeRecommenders plugin to your installation. That has a subwords completion, which the normal JDT code completion does not have.
Upvotes: 2
Reputation: 2480
This merely meets you req: alt+/
, just a replacement for ctrl+space
Currently there is no direct way to do that in eclipse. But i found these are helpful. here
This post resembles your's look at it. Similar one here
Upvotes: -1
Reputation: 1648
The shortcut Ctrl + O gives an outline of the current source. So you can view and search all your methods in your current class. Use wildcards when needed.
Upvotes: 0
Reputation: 1332
Use search. From the Search menu at the top of the window, select "Java Search". You can limit your search to methods and use wildcards to search for *Buffer*
if you know that Buffer is in the method name.
Upvotes: 0