Closed rokf closed 3 years ago
I've tried replacing the whole if-else
statement https://github.com/stamblerre/gocode/blob/master/client.go#L173 with the stdin thingy in else
and it works.
Looks to me like the stdin way still requires the filename (-in
flag).
This repository is in maintenance mode, so I will not be making any fixes. If you would like to contribute a PR, I will happily take a look at it.
This repository is being archived in favor of gopls
, the Go language server. Fixes will no longer be accepted.
Summary
Hello, I've tried to use your fork of gocode today and it does not return any completions when I pass the code via stdin.
If I use the
-in
file path flag instead it works.The project is outside the GOPATH and is using modules.
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?