Change Format settings in CotEditor

In the CotEditor app on your Mac, use Format settings to set the default format for documents such as line ending type and text encoding, and to manage syntax styles. To change these settings, choose CotEditor > Settings, then click Format.

Open CotEditor for me

OptionDescription
Default line endings The default line ending style is used when creating a new document. This setting is used also when the opened document doesn’t include any line endings.
Default text encoding The default text encoding is used when creating a new document. See Handle various types of line endings for details.
Priority of encodings The priority of encodings and the policy of encoding detection when opening an existing file.
Edit List
Click Edit List to set the order of encodings that appear in the File Encoding submenu in the Format menu and the File Encoding drop-down list on the toolbar. This order is also used for encoding detection. CotEditor tries each encoding from the top of the list. See Change priorities of text encodings for details.
Refer to encoding declaration
in document
The encoding declaration written in the document is respected when detecting the text encoding of the document. See Use encoding declarations for encoding detection for details.
Default syntax style If there is no syntax style associated with the extension of the file you opened, the one you specified here will be used for coloring.
This setting applies to a newly created document as well.
Available syntax styles The list of the existing syntax styles. A small dot in front of style names represents that it is customized.
See Define a syntax style for editing style.
Add +, Remove -
Create a new style or remove the selected style. The styles bundled with CotEditor can not be removed.
Edit (pencil icon)
Edit the selected style.
Other Actions (gear icon)
Duplicate “[style name]”
Duplicate the selected style to make your own one.
Export “[style name]”
Export the style definition file made from the selected style. You can use this exported file to use it on another computer. To use the exported file, do Import.
Share
Share the style definition file made from the selected style.
Import
This allows you to use a style created on another computer. After selecting Import, choose the exported style file to install.
Show File Mapping Conflicts
Check if multiple styles are associated with the same extension/filename.

See also