-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
External tools integration path filtering doesn't work in Windows #2451
Comments
Hi, thanks for opening the issue. Please add the screenshot for how the tool is configured, tell where the project root is, what's the GOPATH value and finally a sample of the message that doesn't work (copy-pastable preferably). Than should help out. Thanks! |
Test tool handles errors fine, external tool doesn't. |
Actually I don't know what you want we to do. Indeed, we have special code that make test tool create links in console relative to GOPATH roots. And |
I've asked Patrick to open the issue as I wasn't aware of some aspects of this. The thing is that for me the IDE does correctly convert the paths to links. Should this rather be opened against the External Tools functionality? Can the plugin provide any filtering functionality? That's why O said it's better to have thr ticket here as there are far too many unknowns for me. Thanks. |
Ask IntelliJ team to support
In theory plugin can provide some filtering macro like |
Why would there be anything special about it? The problem is the external tool support and the output filters don't really 'work.' I should be able to specify something like '([^:]+):\d+:\d+ ' and have it match go's filename:line:column output (although how you define a regular expressionto actually match anything in output filters is completely undocumented in the filter help). |
Because output of go tools is a mess, you can see how we handle them in build/tests/etc here https://github.com/go-lang-plugin-org/go-lang-idea-plugin/blob/master/src/com/goide/runconfig/GoConsoleFilter.java
You can vote for this issue, however notice that |
I'm trying to set up an action to run go install ./... for my code tree so I can triage build errors as well as install libs for build dependency caching.
Speaking with Florin he said he set up an external tool to run go install, didn't set output filters and it worked fine with errors being clickable/etc. He asked me to create the issue here.
Under Windows, it runs fine, but the errors aren't parsed properly and not turned into links.$FILE_PATH$ :$LINE$:$COLUMN$: doesn't work either.
Setting up explicit output filter as
The text was updated successfully, but these errors were encountered: