Editor Hints on Development Update Center
By Roman Strobl on VI 03, 2005
Editor Hints aka Suggestions aka Quick Fixes can be found on update center. Download the latest daily build and install modules Editor Hints and Java Hints (both are necessary!). This is alpha version of the hints, we would like to provide the functionality so that we get early feedback. Comments should be sent to: dev-at-java-dot-netbeans-dot-org. Bugs should be filed in Issuezilla, component java, subcomponent hints.
Currently the following hints are available through update center (all of them are still under development):
- Add Import
- Add Throws Clause
- Incompatible Types
- Incorrect Arguments
- Cast Parameter
- Implement Abstract Methods
- Unresolved Element
- Initialize Variable
The light-bulb appears when appropriate error is detected in source code. You can activate the hint by mouse or by pressing Alt-Enter. It is necessary that your cursor is placed at the red-underlined part of code for the lightbulb to appear.
Before somebody will ask me through comments: yes, surround with try-catch hint will be developed as well, it will appear on the hints page soon ;-)
Add throws clause