

If the project has no relevant File Watcher configured, IntelliJ IDEA suggests to add one. The File Watcher problems inspection is invoked by a running File Watcher and highlights errors specific to it. You can use one of the available templates or configure a File Watcher from scratch. A configured File Watcher can be saved in your project settings or in the IDE settings and used in different projects. When you open a file where a predefined File Watcher is applicable, IntelliJ IDEA displays a pane where suggests activating it.Ĭlick Yes to activate the File Watcher with the default configuration. You can still create and enable it manually as described in Creating a File Watcher below.įor information on File Watchers for specific tools, see the corresponding pages: If you click No, IntelliJ IDEA considers the suggested File Watcher suppressed.
Filewatcher java install#
Note that using some of these tools in IntelliJ IDEA requires that you install plugins on the Settings/Preferences | Plugins page as described in Installing plugins from JetBrains repository. Install and enable the File Watchers plugin on the Settings/Preferences | Plugins page, tab Marketplace, as described in Installing plugins from JetBrains repository. In the Settings/Preferences dialog ( Ctrl+Alt+S), click File Watchers under Tools.

The File Watchers page opens showing a list of File Watchers that are already configured in this project and in the IDE.Ĭlick and choose the predefined template from which you want to create a File Watcher. The choice depends on the tool you are going to use. To use a tool that is not on the list, choose Custom.

By default, IntelliJ IDEA suggests the name of the selected predefined template.Ĭonfiguring the expected type and location of input files In the Name field, type the name of the File Watcher. Use the controls in the Files to watch area to define the range of files where you want to apply the File Watcher.įrom the File type list, choose the expected type of input files. The File Watcher will consider only files of this type as subject for analyzing and processing. File types are recognised based on associations between file types and file extensions.īy default, the field shows the file type in accordance with the chosen predefined template. Select the Scope in which the File Watcher is applicable.Ĭhanges in these files will invoke the File Watcher either immediately or upon save or frame deactivation, depending on the status of the Auto-save edited files to trigger the watcher checkbox. Select one of the predefined scopes from the list.
