-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organize Imports code action is not working for gopls >= v0.3.1 #31
Comments
Are you sure it has to do with Catalina? |
No I'm not sure. It only occurred to me after I upgrade to Catalina, but it can be that after the upgrade I updated/reinstalled acme-lsp to the latest version. I just downgraded acme-lsp to v0.9.0 (f9edabb) and gopls to 0.2.2 and now it is working again. |
Check if gopls works without acme-lsp by running:
There is also |
With the latest
With acme-lsp version v0.9.0 and gopls v0.3.1 the check part works but the import part does not. |
I can reproduce the issue with gopls Before (not versioned edit):
After (versioned document edit):
|
Since I upgraded to macOS Catalina on "Put" the import path will not be organised any more (added/removed). Only the compiler will complain and write to
/LSP/Diagnostics
:I tried to run
acme-lsp -v
but I do not get any error message or logs displayed on "Put". Any suggestions?My config looks a follows:
The text was updated successfully, but these errors were encountered: