blob: 00b8f285267f650c5be832f714b165b1cf3f950c [file] [log] [blame]
kpriceef160682006-08-29 18:08:31 +00001<?xml version="1.0" encoding="utf-8"?>
kpriceb59c9f62008-04-02 21:24:37 +00002<!--Arbortext, Inc., 1988-2006, v.4002-->
3<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
4 "task.dtd">
kpriceef160682006-08-29 18:08:31 +00005<task id="xmlsourcesuggestionstrategy" xml:lang="en-us">
6<title>Setting the XML source suggestion strategy used by content assist</title>
7<shortdesc>You can customize the formatting of the suggestions given by content
8assist by choosing a suggestion strategy preference. When the suggestion strategy
kpriceb59c9f62008-04-02 21:24:37 +00009is set to Strict, suggestions that are grammatically valid will be displayed
10first in the list of options and highlighted by bold icons. Other suggestions
11that are applicable to this element's scope but are not grammatically valid
12will be displayed lower in the list with de-emphasized icons. When the suggestion
13strategy is set to Lax, all suggestions will displayed in the list with de-emphasized
14icons.</shortdesc>
kpriceef160682006-08-29 18:08:31 +000015<prolog><metadata>
kprice9623e9d2007-05-03 03:43:05 +000016<keywords><indexterm>XML editor<indexterm>source suggestion strategy</indexterm></indexterm>
17</keywords>
kpriceef160682006-08-29 18:08:31 +000018</metadata></prolog>
19<taskbody>
kpriceb59c9f62008-04-02 21:24:37 +000020<context>To set the suggestion strategy used by content assist, complete the
21following steps:</context>
kpriceef160682006-08-29 18:08:31 +000022<steps>
kpriceb59c9f62008-04-02 21:24:37 +000023<step><cmd>Click <menucascade><uicontrol>Window</uicontrol><uicontrol>Preferences</uicontrol>
24</menucascade> and select <menucascade><uicontrol>XML</uicontrol><uicontrol>XML
25Files</uicontrol><uicontrol>Editor</uicontrol></menucascade></cmd></step>
26<step><cmd>Beside <uicontrol>Suggestion strategy</uicontrol> in the Content
27assist section, select the appropriate setting (Strict or Lax).</cmd></step><?Pub Caret?>
28<step><cmd>Click <uicontrol>Apply</uicontrol>, then <uicontrol>OK</uicontrol> to
29save your settings</cmd></step>
kpriceef160682006-08-29 18:08:31 +000030</steps>
31<example><p>The following screen capture demonstrates content assist with
32the suggestion strategy set to "Strict":</p><image href="../images/suggestion.gif"
33placement="break"><alt>Example of Strict Suggestion Strategy</alt></image></example>
34</taskbody>
35</task>
kpriceb59c9f62008-04-02 21:24:37 +000036<?Pub *0000001950?>