File watcher inspection doesn't use line and column correctly

Answered

I have configured a custom File watcher.

The output in the console links to the correct line and column.

Problem: the editor inspection doesn't put squiggles in the right locations.

In this screenshot there are two different errors. But all expression are highlighted as one big error. When you hover any expression you will see both errors.

The output filter I used is $FILE_PATH$:$LINE$:$COLUMN$: $MESSAGE$

Example output from the linter:

/Users/Borkdude/Dropbox/dev/clojure/clj-kondo/corpus/function_literal.clj:5:2: error: Wrong number of args (2) passed to corpus.function-literal/foo
/Users/Borkdude/Dropbox/dev/clojure/clj-kondo/corpus/function_literal.clj:7:2: error: Wrong number of args (3) passed to corpus.function-literal/foo

0
2 comments
Avatar
Liubov Melnikova

Hello,

It seems to be a bug, surprisingly I couldn't find the report for it, please file it on our tracker:https://youtrack.jetbrains.com/newIssue ,

0

Please sign in to leave a comment.