Closed glhfior closed 11 months ago
I was able to get a hold of additional binaries and have successfully been able to use the plugin through version 1.81.1... still trying to acquire and test with versions between 1.81.1 and 1.82.0
tested with Today's 1.82.1 release... issue persists
Can confirm issue exists here as well with 1.82.2 while on 1.82.1 it works (MacOS 13.5.2)
Same issue for me
Version: 1.82.2 (user setup) Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d Date: 2023-09-14T05:55:25.390Z Electron: 25.8.1 ElectronBuildId: 23779380 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19045
npm-groovy-lint / vscode-groovy-lint lacks of maintenance (I have to choose my battles and Groovy stuff is unfortunately at the bottom of my huge backlog)
Would someone like to investigate ?
same problem still in 1.82.2 & 1.83.0
@nvuillam I've investigated a little and on my side the problem seems related with npm-groovy-lint which cannot handle correctly CodeNarcServer.
During debug => await linter.run()
(from linter.ts) => callCodeNarc
(from groovy-lint.js (npm-groovy-lint)) => callCodeNarcServer
=> await axios.request
(from codenarc-caller.js (npm-groovy-lint)):
I got an exception Error: connect ECONNREFUSED ::1:7484
even I could access the server 'http://localhost:7484' from my browser.
Then we go to startCodeNarcServer
, everything works well excepted when testing 'http://localhost:7484/ping' using axios.get(serverPingUri)
where I got the exception Error: connect ECONNREFUSED ::1:7484
even I could access the server 'http://localhost:7484/ping' from my browser
I hope that help, I don't know what is the problem.
Seeing the same behaviour here, once it kicks into action it seems good but sometimes it wont.
I have seem times where the java process has been orphaned, which then means an old version has the port causing further issues.
Experiencing the same issue here with VSCode 1.83.1, (not working at all.) Did anyone manage to find a workaround ?
I believe a https://github.com/nvuillam/npm-groovy-lint/pull/308 is the fix
thanks a lot for the fix, now we only need a new official release :)
@kikmon once the CI jobs will be ok on https://github.com/nvuillam/npm-groovy-lint/pull/308 i'll run to release a new version of npm-groovy-lint and vscode-groovy-lint :)
Looks like 308 was closed because the changes were already included in 309, and as far as I can see CI jobs look green :) Are we still waiting for another change to get a new official release ?
Now we have a solid version of npm-groovy-lint, we'll be working on an update.
There's still at least one issue in vscode which is hindering this currently.
@stevenh Thanks so much for your hard work on this. I'm not a developer by any stretch, but I do a lot in groovy scripting and this tool has been instrumental in helping clean up and standardize my code. The maintenance of extensions like this is beyond me but it means a lot and I wanted to make sure you (and other contributors that I'm sure I don't see) know that it is appreciated.
this is fixed in newest release v3.0.0, thanks to the great job of @stevenh :)
Please can you confirm it works well for your case now ?
Running latest release of the plugin (2.0.0) with the latest VSCode release(1.82.0)... I have seen a mixed bag or how this manifests... Occasionally codenarc won't launch... or if it does, no response is generated and the spinner goes indefinitely in the status bar When this occurs, the codenarc java task continues to run even after VSCode terminates Down-revving VSCode to 1.77.3 (haven't yet tried versions in between) resolves the issue
Not a show stopper for me... I can live without new VSCode features, but I figured I'd notify you before additional issues come in