Define completion candidates in CotEditor on Mac

You can define your own completion candidates par syntax in addition to standard words and words appear in a document by customizing the corresponding syntax.

Define completion candidates

To define the keywords to appear in the completion list, select Completion List from the list on the left of the syntax editor, then add keywords to the list on the right side. See Define a syntax for how to open the syntax editor.

Add words to appear in the list as follows:

FieldDescription
Completion

The word you put here appears in the completion list.

Type

A note for the type of the completion word.

If no words here, the words generated from your syntax highlighting definition appear in the list.

See also