Martin Fahl
Martin Fahl

Reputation: 947

Eclipse how to directly show a list of available functions

Eclipse has a feature in which you write a classname followed by a dot, and a list of available public functions appears. But what if I want to see the functions of the class I am currently in? The only solution I know is to write this., select the function from the appearing list, and delete the this..

Is there any way to show the popup menu without writing this., a hotkey perhaps?

Upvotes: 20

Views: 45698

Answers (3)

Simon Forsberg
Simon Forsberg

Reputation: 13331

What you are referring to is called code completion and can be accessed with Ctrl+ Space in Eclipse. This will list all variables, fields, methods, classes that is applicable in the current context.

Also, there is Ctrl + O in Eclipse, which will give you a list of all the available methods in the current class.

Upvotes: 35

PSR
PSR

Reputation: 40318

you can use Ctrl + O

you can see all methods available in a class

If you just want to jump from one member to the next (or previous), you can use Ctrl + Shift + or Ctrl + Shift + , respectively.)

Or Ctrl + Space

Upvotes: 1

grauwulf
grauwulf

Reputation: 376

All you need to do is press the ctrl and spacebar keys.

Upvotes: 4

Related Questions