go-plus
go-plus copied to clipboard
Since update of golang to go1.13.6 and atom to 1.43.0 the go-plus plugin does not work anymore.
Auto-completion and type display no longer work
Since I updated golang to the current version, the plugin no longer works in atom. So I updated atom. Since the problem persisted I uninstalled the plugins go-plus and go-debug and installed them again. Unfortunately without success. Current installed package version of go-plus is "6.1.0".
Prerequisites
- [x] Have you tried launching
atom .
from the terminal in your project's directory? - [x] Have you verified the output from
go env
is correct? If it is, please include the output in this issue. - [x] Have you updated Atom to the latest version?
- [ ] Have you tried using Atom Beta, which can be run side-by-side with Atom Stable? Is the behavior the same, or different?
- [x] Have you updated your Atom packages to the latest versions?
- [ ] Have you read the FAQ?
- [x] Have you searched the issues to see if others are experiencing the same issue?
Description
Suggestions for packages are no longer displayed in the code. Many variables are no longer associated with types. As you can see in the picture, type "invalid type" appears in many cases. I have deleted in the $GOPATH/src/github.com all directories that contain gocode. Interestingly, when I reinstall go-plus, gocode is not downloaded again.
Output from atom -v && apm -v
Atom : 1.43.0 Electron: 4.2.7 Chrome : 69.0.3497.128 Node : 10.11.0
apm 2.4.3 npm 6.2.0 node 10.2.1 x64 atom 1.43.0 python 2.7.17 git 2.17.1
go version
go1.12.10 linux/amd64
atom version
Atom : 1.44.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
I had the same issue and tried to reinstall go-plus:
$ apm install go-plus
Installing go-plus to /home/user/.atom/packages ✗
> [email protected] postinstall /tmp/apm-install-dir-120115-11590-lut045.i5jii/node_modules/go-plus/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
Aborted (core dumped)
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-120115-11590-lut045.i5jii/package.json'
npm WARN [email protected] requires a peer of etch@^0.12.7 but none is installed. You must install peer dependencies yourself.
npm WARN apm-install-dir-120115-11590-lut045.i5jii No description
npm WARN apm-install-dir-120115-11590-lut045.i5jii No repository field.
npm WARN apm-install-dir-120115-11590-lut045.i5jii No README data
npm WARN apm-install-dir-120115-11590-lut045.i5jii No license field.
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.atom/.apm/_logs/2020-02-15T12_29_46_328Z-debug.log
Here is the debug.log file : https://gist.github.com/PierrickV/71d95158b1f02c6771ed229f8f42d015
I hit the same issue as @PierrickV just now.
Edit; my version of libraries
$ atom -v && apm -v
Atom : 1.44.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
apm 2.4.3
npm 6.2.0
node 10.2.1 x64
atom 1.44.0
python 3.7.6
git 2.20.1