Synchronizing Source With an Interface

See Also 

Previous versions of the IDE had a Synchronize command that enabled you to update classes to implement an interface's methods or to update classes to reflect changes in interfaces.

The Synchronize command is no longer in the IDE, but it is still possible to synchronize classes with interfaces.

To generate an interface's methods in a class:

  1. Type implements InterfaceName on the class declaration line of the source file.
  2. Wait a second for the lightbulb icon to appear in the left margin of the line.
  3. Press Alt-Enter to display the Implement All Abstract Methods hint and then press Enter.

    Method declarations are generated for any interface methods that are not already declared in the class.

See Also
Overriding and Implementing Methods
Using Code Completion
Using Editor Hints to Fix Code

Legal Notices