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.

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
CompletionsThe words you put here appear in the completion list.

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

See also