New File Type
The dialog box opens when you click the Add button or select a custom file type and click the Edit button on the File Types page.
Use the dialog box to configure and re-configure presentation and highlighting of keywords, comments, numbers etc. in files of a specific custom file type. These settings make the basis for parsing files of this type in the editor.
|In this text box, specify the name of the file type.
|In this text box, provide an optional description of the file type.
|In this area, specify the character strings to indicate borders of comments, the numeric system used, and configure highlighting for brackets, braces, etc. syntax elements.
|In this text box, specify the character string to indicate the start of a single-line comment.
|Only at line start
|If this check box is selected, the character string that denotes the beginning of a line comment, is recognized as a comment if located in the first position of a line.
|Block comment start
|In this text box, specify the character string to indicate the start of a block comment.
|Block comment end
|In this text box, specify the character string to indicate the end of a block comment.
|In this text box, specify the character string to indicate that the subsequent value is a hexadecimal number. For example,
|In this text box, specify the character string to indicate which numeric system or unit is used. A postfix is a trailing string of characters, for example,
e-3, kg etc.
|Support paired braces
|Select this check box, to have paired braces highlighted.
|Support paired brackets
|Select this check box, to have paired brackets highlighted.
|Support paired parens
|Select this check box, to have paired parentheses highlighted.
|Support string escapes
|Select this check box, to have string escapes highlighted.
|Select this check box to have IntelliJ IDEA ignore case when processing file type extensions.
| Use this area to flexibly configure highlighting of keywords by grouping them into sets and associating each set with its own highlighting scheme.
The area consists of 4 tabs. In each tab, create a set of keywords using the Add and Remove buttons. To associate a keyword set 1-4 with a highlighting scheme, edit the corresponding Keyword1 - Keyword4 property on the Custom page of the Colors and Fonts dialog box.
|Click this button to open the Add a new keyword dialog box and define the new keyword there.
|Click this button to delete the selected keyword from the list.