External Tool Filter

I use IDEA 5.1 in combination with FindBugs. The FindBugs results are shown in output window for the current java file like:
mypackage.MyFile:77 - there is an error

The next step was to make the tool handy, highlighting the items and referencing to the source file. But FindBugs has no information about the absolute-path that I would need for something like:
$FILE_PATH$:$LINE$.
(only Classname or filename are available, and there is nothing like $FILE_NAME$ or $CLASS_NAME$)

I look at an exception-output where the source-file and line-number references to the code.

Is it possible to do the same with external tool output?
Are there more constants than $FILE_PATH$ or $LINE$?

Thanks in advance.

3 comments

Couldn't you use IDEA's built in inspections? Or do you have a special
reason to use FindBugs?

Bas

Christian Heldstab wrote:

I use IDEA 5.1 in combination with FindBugs. The FindBugs results are
shown in output window for the current java file like:
mypackage.MyFile:77 - there is an error

The next step was to make the tool handy, highlighting the items and
referencing to the source file. But FindBugs has no information about
the absolute-path that I would need for something like:
$FILE_PATH$:$LINE$. (only Classname or filename are available, and
there is nothing like $FILE_NAME$ or $CLASS_NAME$)

I look at an exception-output where the source-file and line-number
references to the code.

Is it possible to do the same with external tool output? Are there
more constants than $FILE_PATH$ or $LINE$?

Thanks in advance.

0

We use IDEA inspections and FindBugs complementary. FindBugs is running in our continuous integration process and IDEA inspections is used during coding.

0

Is there a description about possible constants in filters?
I found $FILE_PATH$ and $LINE$ 'till yet.

Thanks in advance.

0

Please sign in to leave a comment.