Identifying Errors in Source Code

Whenever you edit files in the Source Editor, the IDE notifies you of a source code error by providing the following indicators:

You can click the lightbulb icon or press Alt-Enter to open a list of possible solutions. Select a solution and then press Enter to have the IDE generate the missing code.

To jump to an error marked in the right margin:

To display a tool tip with information about an error:

To have a correction generated according to the IDE's suggestion:

  1. When the lightbulb icon (lightbulb icon) appears, press Alt-Enter to display the hint.
  2. Select a suggestion from the drop-down list and press Enter.

Notes:

See Also
Using Editor Hints to Fix Code
Configuring the Source Editor

Legal Notices