![Eclipse Tutorial](/eclipse/images/eclipse-mini-logo.jpg)
- Eclipse Tutorial
- Eclipse - Home
- Eclipse - Overview
- Eclipse - Installation
- Eclipse - Explore Windows
- Eclipse - Explore Menus
- Eclipse - Explore Views
- Eclipse - Perspectives
- Eclipse - Workspaces
- Eclipse - Create Java Project
- Eclipse - Create Java Package
- Eclipse - Create Java Class
- Eclipse - Create Java Interface
- Eclipse - Create XML File
- Eclipse - Java Build Path
- Eclipse - Run Configuration
- Eclipse - Running Program
- Eclipse - Create Jar Files
- Eclipse - Close Project
- Eclipse - Reopen Project
- Eclipse - Build Project
- Eclipse - Debug Configuration
- Eclipse - Debugging Program
- Eclipse - Preferences
- Eclipse - Content Assist
- Eclipse - Quick Fix
- Eclipse - Hover Help
- Eclipse - Search Menu
- Eclipse - Navigation
- Eclipse - Refactoring
- Eclipse - Add Bookmarks
- Eclipse - Task Management
- Eclipse - Install Plugins
- Eclipse - Code Templates
- Eclipse - Shortcuts
- Eclipse - Restart Option
- Eclipse - Tips & Tricks
- Eclipse - Web Browsers
- Eclipse Useful Resources
- Eclipse - Quick Guide
- Eclipse - Useful Resources
- Eclipse - Discussion
Eclipse - Content Assist
Using Content Assist
Within an editor, content assist helps reduce the characters typed by providing a context sensitive list of possible completions to the characters already typed. The context assist can be invoked by clicking Ctrl + Space.
If you are editing the body of a method in the java editor and press Ctrl + Space on a new line it will bring up a dialog showing −
- The class variables
- The class methods
- Super class methods
- Other relevant classes
![Content Assist](/eclipse/images/content_assist_1.jpg)
To select an item from the list just highlight the item using the up or down arrow keys and press enter.
If you type some characters and then press Ctrl + space the dialog box will show only items that start with the characters typed in.
![Template Proposal](/eclipse/images/content_assist_2.jpg)
Advertisements