Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Symbols not found inside godep GOPATH #250

Closed
liggitt opened this issue Mar 17, 2016 · 4 comments
Closed

Symbols not found inside godep GOPATH #250

liggitt opened this issue Mar 17, 2016 · 4 comments

Comments

@liggitt
Copy link

liggitt commented Mar 17, 2016

I have a project using godeps to nest vendored packages.

The project root is at /Users/myuser/go/src/github.com/myuser/myrepo

The "go.gopath" setting is set to "/Users/myuser/go/src/github.com/myuser/myrepo/Godeps/_workspace:/Users/myuser/go"

Most things work (definition finding, etc), but "Show all symbols" does not include things inside the nested Godeps path (which is Godeps/_workspace relative to the project folder)

@liggitt
Copy link
Author

liggitt commented Mar 17, 2016

cc @deads2k @ironcladlou

@ironcladlou
Copy link
Contributor

Check this branch of my fork of the go-symbols tool which use the build context for lookups.

I have an idea of how to make my branch backwards compatible with current go-symbols' behavior by creating a build.FakeContext, but it's low priority for me right now since the current behavior is pretty much broken for every Go project I work with due to vendor usage.

I think this tool would also benefit from some sort of caching.

We might want to take this discussion to the go-symbols project. cc @newhook

@liggitt
Copy link
Author

liggitt commented Mar 17, 2016

We might want to take this discussion to the go-symbols project. cc @newhook

my mistake, I can move the issue there

@liggitt
Copy link
Author

liggitt commented Mar 17, 2016

Moved to newhook/go-symbols#1

@liggitt liggitt closed this as completed Mar 17, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants