Closed markmandel closed 7 years ago
Please provide following details: librarias settings, vendoring settings and ask version
Sdk version*
Library settings: Project Libraries are set to my gopath, which this library is in.
Vendoring is enabled (and the vendoring directory does resolve if it's in the child directory of the source code)
sdk is:
☁ /go goapp version
go version go1.6.2 (appengine-1.9.40) linux/amd64
Gentle bump on this, as I just ran into this issue again today.
Plugin version (or commit hash): 0.12.1885 IntelliJ IDEA 2016.2.4 Build #IU-162.2032.8, built on September 9, 2016 Licensed to Mark Mandel JRE: 1.8.0_112-release-b343 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Ubuntu 14.04
If you have a vendor directory in a parent of the code that is currently being worked on, it doesn't resolve for code completion.
In the below example I have the following folder stucture:
In
/src/fetch/app
there is go code. When editing code insrc/fetch/app
, it doesn't autocomplete and introspect the libraries in/src/fetch/vendor
- and it should, according to the vendoring spec.In the image, you can see how much of the code is red, even though the code is in the parent vendor directory:
Please let me know if i can provide any more details.