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.
|Name||In this text box, specify the name of the file type.|
|Description||In this text box, provide an optional description of the file type.|
|Syntax Highlighting||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.|
|Line comment||In this text box, specify the character string to indicate the start of a single-line comment.|
|11.1+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.
This check box becomes available if at least one character is inserted in the Line comment field.
|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.|
|Hex prefix||In this text box, specify the character string to indicate that the subsequent value is a hexadecimal number. For example,
|Number postfixes||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,
|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.|
|Ignore case||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.|