Closed leogott closed 2 years ago
The same for me as well. It fails in both WSL as well as Remote-SSH with/without built in style configs. I'm yet to try on local Windows without remote.
I have the same problem
Same issue noticed
Its also reproducable in Github Codespaces (e.g the exctension cant be used there as well) and can be reproduced with the currently latest version 1.4.1
Error: Running the contributed command: 'java.execute.workspaceCommand' failed.
at l._executeContributedCommand (/vscode/bin/linux-x64/6cba118ac49a1b88332f312a8f67186f7f3c1643/out/vs/server/remoteExtensionHostProcess.js:94:111812)
at Object.syncServer (/home/codespace/.vscode-remote/extensions/shengchen.vscode-checkstyle-1.4.1/dist/extension.js:1:82761)
at Object.refresh (/home/codespace/.vscode-remote/extensions/shengchen.vscode-checkstyle-1.4.1/dist/extension.js:1:81470)
I tried the extension in GitHub Codespaces today, it works fine on my side
Haven't tried with Remote extensions, but AFAIK, if Codespaces works, Remote should work as well. 🤔
Lmk if there's anything I can try to help pin down the issue. There aren't any convenient alternatives to using this plugin so I'd like to get this working
Oh, I got it working now! VSCode 1.63.2 Checkstyle 1.4.1
Looks like the underlying problem was fixed in the time between me opening this issue and now.
And it didn't work earlier today because of a different problem that was easy to work around. I opened a new issue for it #327
I'm trying to use checkstyle with Windows 10 + WSL2 and Ubuntu LTS 18.04
I reset all settings to default and then used "> Checkstyle: Set the Checkstyle Configuration File" to select the built-in google config. Then I used the context menu on an open file to run checkstyle on it. I didn't see anything happen and checked the Output Panel to see that the checkstyle plugin had run into an issue:
Version: 1.59.0 Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8 Date: 2021-08-04T23:13:12.822Z Electron: 13.1.7 Chrome: 91.0.4472.124 Node.js: 14.16.0 V8: 9.1.269.36-electron.0 OS: Windows_NT x64 10.0.19043