How do you use the "File watcher problems" inspection?

In the File Watchers Documentation, it says:

"The File watcher problems inspection is invoked by a running File Watcher and highlights errors specific for it."

Questions:

  • What is considered to be a File Watcher" specific error"?
  • How can I trigger/control this inspection from my custom File Watcher?

Thanks,

-- Chad

0
3 comments

Hello Chad,

in case a transpiler is set as a file watcher then its errors might be parsed with filters (and they will be shown as inspections), which you can configure in Output Filters. 

 

0

Olga,

Thanks for the response.

How would I make them be shown as inspections if I'm using a custom file watcher and filters?  

In my case I'm compiling Elm and want to show the compiler errors as inspections - I have the error text and associated file/line/column data parsable, but I don't know how to make it show up as an in-editor inspection.

Is there an example of this anywhere which uses a custom file watcher and filter?

Thanks,

-- Chad

0

Chad,

in case filters are correctly configured and you can navigate from the file watcher's console to the Editor then this error will be highlighted in the Editor.

0

Please sign in to leave a comment.