xxpxxxxp / intellij-plugin-golangci-lint

GolangCI-Lint integration for IDEA
GNU General Public License v3.0
219 stars 15 forks source link

Doesn't show detailed error message from golangci-lint #119

Closed BorzdeG closed 1 year ago

BorzdeG commented 2 years ago
image

in GoLand log:

2022-08-17 04:46:01,155 [33937015]   WARN - go-linter - Run error: level=warning msg="[linters context] contextcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649."
level=warning msg="[runner] Can't run linter goanalysis_metalinter: goimports: can't extract issues from gofmt diff output \"--- $PROJECT_DIR$/parser/firebase-parser.go.orig\\t2022-08-17 04:46:01\\n+++ $PROJECT_DIR$/parser/firebase-parser.go\\t2022-08-17 04:46:01\\n@@ -3,9 +3,10 @@\\n import (\\n \\t\\\"context\\\"\\n \\n+\\t\\\"PKG_HIDDEN/jwt/auth/model\\\"\\n+\\n \\t\\\"firebase.google.com/go/auth\\\"\\n \\t\\\"github.com/pereslava/grpc_zerolog/ctxzerolog\\\"\\n-\\t\\\"hyperflex/go/shared/jwt/auth/model\\\"\\n )\\n \\n type FirebaseParser interface {\\n\": can't parse patch: parsing time \"2022-08-17 04:46:01\" as \"2006-01-02 15:04:05 -0700\": cannot parse \"\" as \"-0700\""

$PROJECT_DIR$ and PKG_HIDDEN - private data cut by me

xxpxxxxp commented 2 years ago

Hi @BorzdeG , you mean you'd like to see detailed error info in such panel?

BorzdeG commented 2 years ago

Yes. So that you do not have to go to the IDE log and see why the error occurred.

With your permission, I'll try to add this feature myself.

mikeschinkel commented 1 year ago

@BorzdeG — Any status on this?

I just asked about how to find the error longs in the #Goland channel of Gopher's Slack and was pointed to this issue.

I would love to help if you haven't gotten to it, but thus far I have been completely thwarted to write plugins due to my lack of of Java/Kotlin experience.

BorzdeG commented 1 year ago

@mikeschinkel No, I have not reached it yet :( More precisely, I started and "forgot", distracted - I should return to it ...