Table of Contents

Code Completion

Options->Code Completion

Display

Code Hints

Quick Info

Auto Code Templates

To simplify usage of the templates for standard language construction, HippoEDIT can automatically create code templates from style definitions and scope tags (when this makes sense).

Auto Templates are shown in the list of the templates for syntax, but not saved until changed. As far the user has changed description or text for the auto template, it would be converted into user template and saved.

User template has priority over auto templates, and so, the auto template would not be created, if user template with the same key already exists.

From Style definitions

From Style definitions flag tells editor to automatically generate code templates for syntax, from style definitions of this syntax.

For example for following style definition in xml_spec.xml:

<Style id="comment" name="Comments" ... clr="Comments" bkclr="#FFFFFFFF">
  <Blocks>
    <Block open="&lt;!--" close="--&gt;"/>
  </Blocks>
</Style>

will be generated this code template for XML:

Key <!–
Description <!– $ –>
Code <!– %SelectedText% % | % –>

From Scope definitions

From Scope definitions - similar as for style definitions, this flag control if editor will generate auto code templates from scope definitions of syntax.

For example for such scope definition from file c++_ms_spec.xml:

<SCOPES>
  <Scope open="BEGIN_MSG_MAP" close="END_MSG_MAP"/>
  ...
</SCOPES>

editor generates following code template:

Key BEGIN_COM_MAP
Description BEGIN_COM_MAP $ END_COM_MAP
Code BEGIN_COM_MAP %SelectedText% % | % END_COM_MAP