3.7. Getting Method Parameter Hints

Problem

You want to call a method, but you forget what its parameters are, and you would like some hints.

Solution

Place the cursor in the method’s argument list and press Ctrl-Shift-Space, or select Edit Parameter Hints.

Discussion

When you place the cursor in a method’s argument list, you will see a list of parameter hints. In the JDT editor, press Ctrl-Shift-Space, or select Edit Parameter Hints. A tool tip will appear, showing the method’s parameters.

Get Eclipse Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.