kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 2 | <!--Arbortext, Inc., 1988-2006, v.4002-->
|
| 3 | <!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
|
| 4 | "task.dtd">
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 5 | <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
|
| 8 | assist by choosing a suggestion strategy preference. When the suggestion strategy
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 9 | is set to Strict, suggestions that are grammatically valid will be displayed
|
| 10 | first in the list of options and highlighted by bold icons. Other suggestions
|
| 11 | that are applicable to this element's scope but are not grammatically valid
|
| 12 | will be displayed lower in the list with de-emphasized icons. When the suggestion
|
| 13 | strategy is set to Lax, all suggestions will displayed in the list with de-emphasized
|
| 14 | icons.</shortdesc>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 15 | <prolog><metadata>
|
kprice | 9623e9d | 2007-05-03 03:43:05 +0000 | [diff] [blame] | 16 | <keywords><indexterm>XML editor<indexterm>source suggestion strategy</indexterm></indexterm>
|
| 17 | </keywords>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 18 | </metadata></prolog>
|
| 19 | <taskbody>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 20 | <context>To set the suggestion strategy used by content assist, complete the
|
| 21 | following steps:</context>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 22 | <steps>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 23 | <step><cmd>Click <menucascade><uicontrol>Window</uicontrol><uicontrol>Preferences</uicontrol>
|
| 24 | </menucascade> and select <menucascade><uicontrol>XML</uicontrol><uicontrol>XML
|
| 25 | Files</uicontrol><uicontrol>Editor</uicontrol></menucascade></cmd></step>
|
| 26 | <step><cmd>Beside <uicontrol>Suggestion strategy</uicontrol> in the Content
|
| 27 | assist section, select the appropriate setting (Strict or Lax).</cmd></step><?Pub Caret?>
|
| 28 | <step><cmd>Click <uicontrol>Apply</uicontrol>, then <uicontrol>OK</uicontrol> to
|
| 29 | save your settings</cmd></step>
|
kprice | ef16068 | 2006-08-29 18:08:31 +0000 | [diff] [blame] | 30 | </steps>
|
| 31 | <example><p>The following screen capture demonstrates content assist with
|
| 32 | the suggestion strategy set to "Strict":</p><image href="../images/suggestion.gif"
|
| 33 | placement="break"><alt>Example of Strict Suggestion Strategy</alt></image></example>
|
| 34 | </taskbody>
|
| 35 | </task>
|
kprice | b59c9f6 | 2008-04-02 21:24:37 +0000 | [diff] [blame] | 36 | <?Pub *0000001950?>
|