Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

Setting the XML source suggestion strategy used by content assist

You can customize the formatting of the suggestions given by content assist by choosing a suggestion strategy preference. When the suggestion strategy is set to Strict, suggestions that are grammatically valid will be displayed first in the list of options and highlighted by bold icons. Other suggestions that are applicable to this element's scope but are not grammatically valid will be displayed lower in the list with de-emphasized icons. When the suggestion strategy is set to Lax, all suggestions will displayed in the list with de-emphasized icons.

To set the suggestion strategy used by content assist, complete the following steps:
  1. Click Window > Preferences and select XML > XML Files > Editor
  2. Beside Suggestion strategy in the Content assist section, select the appropriate setting (Strict or Lax).
  3. Click Apply, then OK to save your settings

The following screen capture demonstrates content assist with the suggestion strategy set to "Strict":


Example of Strict Suggestion Strategy
Related tasks

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire