-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
golang stop working after upgrade to 1.11 #11217
Comments
nsf/gocode is not maintained anymore use https://github.com/mdempsky/gocode |
If you're using modules -- good luck -- it's not supported yet. |
^^ Is it on the roadmap to support modules? |
@andres-lowrie -- When tooling is updated, sure -- currently neither go-langserver, which is used in for lsp, nor gocode support it. There is an issue tracking this in the gocode repo. |
I think it's time to support the module. |
It's relatively painless to switch the language server.
…On 8/10/19 6:13 AM, Alan wrote:
I think it's time to support the module.
Gopls already supports modules but does not correctly recognize
modules on spacemac,
There are compatibility issues that need to be resolved, and these
problems no longer exist on vscode.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11217?email_source=notifications&email_token=AAAFUMDNUGIDSB5ZUG6V2PLQD2IGPA5CNFSM4FRTGQYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4AKSLY#issuecomment-520137007>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAFUMHPQJPXAMZLTUPV4LDQD2IGPANCNFSM4FRTGQYA>.
|
I solved my problem, gopls is ok!! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Hi. I'm not a Spacemacs user, but I work on the Go project. Is Spacemacs enabling company-go / gocode by default? If so, can it be switched to use lsp-mode / gopls by default instead? gopls is the Go project's officially supported tool for code completion. (Unlike mdempsky/gocode, which was best effort.) |
Everything can be overridden.
…On 8/20/20 1:33 AM, Matthew Dempsky wrote:
Hi. I'm not a Spacemacs user, but I work on Go.
Is Spacemacs enabling company-go / gocode by default? If so, can it be
switched to use lsp-mode / gopls by default instead?
gopls is the Go project's officially supported tool for code
completion. (Unlike mdempsky/gocode, which was best effort.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11217 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFUMAGSQMYTQT3ITMMPIDSBSYSTANCNFSM4FRTGQYA>.
|
I understand users can override the settings. My understanding though is Spacemacs is meant to provide users with good defaults. And if company-go / gocode isn't supported and isn't working, why is it the default instead of lsp-mode / gopls? |
The default behavior with spacemacs and go layer is, it keeps autocomplete mode disabled, and enables the company-mode, which then enabled company-go by default. What is even worse is that I spent a lot of time debugging this issue and finally gave up. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
I'm very new to go, but after the upgrade to go 1.11 it seems that gocode stopped working.
It was working fine before the upgrade.
Any thoughts/
The text was updated successfully, but these errors were encountered: