External Tools
Is there a way to invoke an external tool AND get error processing? I need
to invoke an external tool (ok, make) which after a bunch of additional
processing eventaully invokes javac. I'd really like to be able to
double-click on the javac error messages and go to the file.
I even went as far as to look at the openapi for a way to send the output to
the messages window but it wasn't immediately obvious.
Thanks,
Dan
Please sign in to leave a comment.
I believe what you are looking for is the "Open console" checkbox on the
External Tools configuration dialog box.
Output from the external tool is sent to the console window, and if it
conforms to the proper syntax, hyperlinking to source is supported.
Dan Wilks wrote:
"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:casr98$4a9$1@is.intellij.net...
You would think. There's no hyperlinking going on in this simple error.
QBOHandler.java:80: ]]> expected
aaa;
^
1 error
make: ***
Error 1
I don't believe that your error conforms to the required format:
at Fully.Qualified.Path.Name(FileName.java:###)
There may be a way to specify another format, but that seems to be the
default format required for the hyperlink.
Tim
Dan Wilks wrote:
>>Output from the external tool is sent to the console window, and if it
>>conforms to the proper syntax, hyperlinking to source is supported.
"Tim Haley" <ymaraner@yahoo.com> wrote in message
news:casuql$q27$1@is.intellij.net...
>
>
Ahh,
http://www.intellij.net/forums/thread.jsp?forum=1&thread=350&message=1358&q=6f75747075742066696c746572#1358
The ill-named "output filter" of the external tool is what I was missing. I
never would have guessed that it provided this functionality from the
description in help.
The Output filters are designed to filter an output made by an external
tool and
highlighting the items that matched to the introduced regular
expressions. To add
a new filter press Add.... The following dialog appears:
Of course there's no documentation on needing a $file_path$ and $line$ in
the expression.
Thanks for pointing me in the right direction.
Dan Wilks wrote:
>>I don't believe that your error conforms to the required format:
>>
>> at Fully.Qualified.Path.Name(FileName.java:###)
>>
>>There may be a way to specify another format, but that seems to be the
>>default format required for the hyperlink.
I was hoping that was what the output filter was for, but the online
help made it sound like it would just highlight the text.
Who knew.
Maybe one of the JetBrainers should take a hint from this and provide
some decent documentation of this very useful feature.