File extensions

Lets you associate specific file extensions with file types. For each file type you need to define at least one unique file extension. During a run, Jalopy will determine the file extension of a file and checks whether it is associated with a file type. If a file type can be found, Jalopy will use the corresponding formatting module to format the file. Otherwise, the file will be skipped and no formatting applied.

Add...

Lets you add new file extensions. Pressing the button will invoke a dialog where you can enter a new file extension. Please note that the button is only available if a file type is selected in the file types list.

Figure 2.21. Add file extension

Add file extension

Enter a file extension and press the Add button to add it to the list. File extensions can be either specified by simply typing the bare name like “cpp” or prepending a dot or the “*.” pattern before the name, e.g. “*.php”.

Remove

Lets you remove an already defined file extension. Select one or several file extensions and press the Remove button to alter the list. Each file type must have at least one associated file extension in order to enable formatting for the file type. If no file extension is associated with a file type, no formatting will be applied for the file type! Please note that the button is only available if both a file type is selected in the file types list and at least one file extension in the file extensions list.