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. Als de suggestiemethode op Strikt is ingesteld, worden alleen de suggesties die grammaticaal correct zijn als eerste in de lijst met opties afgebeeld en met vet afgebeelde pictogrammen aangeduid. Andere suggesties die wel van toepassing zijn binnen het elementbereik maar grammaticaal niet correct zijn, worden onder in de lijst afgebeeld met niet-vetgedrukte pictogrammen. Als de suggestiemethode op Lax (Soepel) is ingesteld, worden alle suggesties in de lijst afgebeeld met normale pictogrammen.

U kunt de suggestiemethode van contenthulp als volgt instellen:
  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
Verwante taken
Using XML content assist