Lets you configure exclusion patterns that can be used to omit certain directories or individual files from formatting.
Since 1.9.1
Lets you define exclusion patterns that should be used for resource matching. You can specify an arbitrary amount of exclusion patterns. The patterns will be checked in sequence and a file will only be formatted if none of the patterns matches the absolute file or parent directory path. The list component displays all patterns currently defined. Use the button bar on the right to add, remove or change patterns and define the order in which the patterns should be checked.
Add...
Lets you add new exclusion patterns. Pressing the button will invoke a new dialog where you can enter the pattern. The used pattern syntax looks very much like the patterns used in UNIX: * matches zero or more characters, ? matches one character. For example: to match all Java files in a specific directory, you could use /test/foo/*.java. To match all files whose name starts with “Foo”, you could use /test/foo/Foo.*.
To make things a bit more flexible, there is one extra feature which makes it possible to match multiple directory levels. This can be used to match a complete directory tree, or a file anywhere in the directory tree. To do this, ** must be used as the name of a directory. When ** is used as the name of a directory in the pattern, it matches zero or more directories. For example: /test/** matches all files and directories under /test/, such as /test/Foo.java or /test/foo/bar/Bar.java, but not /Foo.java.
Most often you probably want to exclude whole directories from being formatted, e.g. to exclude some test data from being processed. This might be achieved by defining a pattern like **/test/** to exclude everything below directories named “test”. If you only want to exclude something in the project foo it might look like this: **/foo/**/testdata/**.
Please note that patterns only allow forward slashes. Any backslashes will be automatically replaced. The pattern matching itself is platform-agnostic and patterns match even on platforms that don’t use the forward slash as the file separator.
Edit...
Lets you alter an already defined exclusion pattern. The button is only available if an item is currently selected in the pattern list. Pressing the button will invoke a new dialog where you can change the exclusion pattern for the currently selected item in the pattern list.
Remove
Lets you remove an already defined exclusion pattern. The button is only available if an item is currently selected in the pattern list.
Up
Lets you change the position of an already defined exclusion pattern in the pattern list. The button is only available if an item is currently selected in the pattern list and this is not the topmost item.
Down
Lets you change the position of an already defined exclusion pattern in the pattern list. The button is only available if an item is currently selected in the pattern list and this is not the last item.