Closed pigfox closed 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
Hello, The log show the following: 2023-05-13 13:41:00,347 [ 75949] WARN - #c.i.o.o.e.ConfigurableCardPanel
files 2023-05-13 13:41:01,538 [ 77140] WARN - go-linter - Run error: level=error msg="Running error: context loading failed: no go files to analyze" . Please make sure the project has no syntax error. 2023-05-13 13:41:01,538 [ 77140] WARN - go-linter - Debug command: cd '/home/peter/Documents/crypto-projects' && export PATH='/usr/local/go1.20.linux-amd64/bin:/home/peter/.local/share/solana/install/active_release/bin:/home/peter/.cargo/bin:/home/peter/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/usr/local/go/bin:/home/peter/go/bin' && export GOPATH='' && export GO111MODULE='on' && '/home/peter/go/bin/golangci-lint' 'run' '--out-format' 'json' '--allow-parallel-runners' '-j' '2' '--issues-exit-code' '1' '--max-issues-per-linter' '0' '--max-same-issues' '0' '--no-config' '--disable-all' '-E' 'ineffassign,staticcheck,govet,typecheck,errcheck,unused,gosimple' 'arbitrage-bot' 2023-05-13 13:41:01,553 [ 77155] INFO - #c.i.u.t.DateFormatUtil - cannot load system formats (JNA=true), resorting to JRE for en_US 2023-05-13 13:41:41,955 [ 117557] 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
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:
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:
- I have multiple Go sub-projects in the root project Uncheck Project Root. Be aware that only the config file directly under the project root will be used. [image: image] https://user-images.githubusercontent.com/1585918/239753592-8cf70aea-9fb0-4789-b58b-ad2fceaddd55.png
— 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
Hello, I am receiving the following errors