Comments (6)
@p554157atch the fact that you are using company-mode
is irrelevant. Gocode was marked as “unmaintained” by the author so you should not expect them to fix the problems you are having on Spacemacs. As I suggested before, you should switch to gopls like the rest of the Go developers in the community. Please refer to this issue on spacemacs that was opened specifically to discuss problems with company-go
. There you will find that other people have suggested to replace company-mode
with lsp-mode
which works with gopls
(both with and without Go modules).
from gocode.
@p554157atch read the README again:
VERY IMPORTANT: this project is not maintained anymore, look for alternatives or forks if you need Go autocompletion tool
The majority of Go developers in the community switched to gopls more than a year ago. I suggest you to do the same.
from gocode.
Spacemacs company-mode
, that calls company-go
is still using gocode for its output.
This is supposed to work with GOMODULES disabled.
from gocode.
Last updated 4 years ago,
https://github.com/emacsmirror/company-go/blob/master/company-go.el
from gocode.
You can try https://github.com/mdempsky/gocode if you don't need modules support, or https://github.com/stamblerre/gocode if you do.
But long term, you should probably look into switching from company-mode to lsp-mode (with gopls), or ask spacemacs to look into this.
from gocode.
@cixtor Or, crazy idea, the go layer and the defaults could be fixed to have that configuration out of the box? Or at least the go layer documentation could be taken down as it is outrageously incorrect and out-of-date?
from gocode.
Related Issues (20)
- company-go trigger candidates not related! HOT 1
- no autocompletion for function in reference to a type struct
- panic: unknown export format version -1 HOT 1
- dial unix /tmp/gocode-daemon.wade.lee: connect: permission denied
- panic: rpc: can't find service RPC.RPC HOT 2
- Panics with unknown export format version -1 HOT 16
- Trouble compiling on save with go-plus and atom, not in terminal HOT 1
- Panics with GO version 1.11 HOT 5
- company-go can not complete golang third party package ? HOT 2
- GOCODE PANIC: Please check your code by "go build" HOT 3
- Gabage completion items when cursor is at the end of a keyword.
- In order for company-go to work with foreign packages, it requires a `-source` flag HOT 1
- How it works under go mod ? HOT 1
- Move gocode to github organization? HOT 4
- gocode work great again!!!
- Autocomplete isn't working with go1.14.3, getting version mismatch error. Does it support go1.14.3? HOT 2
- working directory is not part of a module
- Questions about the network
- What is the font used in the example? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocode.