xxpxxxxp / intellij-plugin-golangci-lint

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

Go linter running error #142

Closed pigfox closed 1 year ago

pigfox commented 1 year ago

Hello, I am receiving the following errors Go linter running error go-linter

  1. When I don't use a config file
  2. When I do use a config file golangci.yml.txt as a .yml file. golangci.yml.txt
xxpxxxxp commented 1 year ago

Hi @pigfox , would you paste the correspond idea log for debug, you can find the idea log by Help - Show log in Finder/Explorer/... - Open the idea.log and search for go-linter

pigfox commented 1 year ago

Hello, The log show the following: 2023-05-13 13:41:00,347 [ 75949] WARN - #c.i.o.o.e.ConfigurableCardPanel

On Sat, May 20, 2023 at 8:38 PM xxpxxxxp @.***> wrote:

Hi @pigfox https://github.com/pigfox , would you paste the correspond idea log for debug, you can find the idea log by Help - Show log in Finder/Explorer/... - Open the idea.log and search for go-linter

— Reply to this email directly, view it on GitHub https://github.com/xxpxxxxp/intellij-plugin-golangci-lint/issues/142#issuecomment-1556074217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI35TUENAVVGVHZZNESZZLXHGE3RANCNFSM6AAAAAAYC6QLTM . You are receiving this because you were mentioned.Message ID: @.***>

-- Best Regards, Peter Sjölin - Custom HTTP Applications https://calendly.com/pigfox https://pigfox.com http://www.pigfox.com http://www.pigfox.com

xxpxxxxp commented 1 year ago

Thanks! The debug log hints at some potential problem, I guess the folder /home/peter/Documents/crypto-projects contains multiple go projects, right? Your use case could follow this guide:

pigfox commented 1 year ago

Hello, That appears to be working. Thank you.

Peter

On Sun, May 21, 2023 at 9:04 AM xxpxxxxp @.***> wrote:

Thanks! The debug log hints at some potential problem, I guess the folder /home/peter/Documents/crypto-projects contains multiple go projects, right? Your use case could follow this guide https://github.com/xxpxxxxp/intellij-plugin-golangci-lint#setting-guide:

— Reply to this email directly, view it on GitHub https://github.com/xxpxxxxp/intellij-plugin-golangci-lint/issues/142#issuecomment-1556214555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAI35TTLRLDSHPSB47QOJ23XHI4HVANCNFSM6AAAAAAYC6QLTM . You are receiving this because you were mentioned.Message ID: @.***>

-- Best Regards, Peter Sjölin - Custom HTTP Applications https://calendly.com/pigfox https://pigfox.com http://www.pigfox.com http://www.pigfox.com