Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib-path #25

Closed
VictorDenisov opened this issue Feb 18, 2011 · 3 comments
Closed

lib-path #25

VictorDenisov opened this issue Feb 18, 2011 · 3 comments

Comments

@VictorDenisov
Copy link

lib-path merely overrides path to library.
adding path to packages would be great.
something like

$gocode set lib-path "/my/package/A/path;my/package/B/path" etc.

and just adding this paths to the search.

@nsf
Copy link
Owner

nsf commented Feb 18, 2011

It should work exactly as you've described. But the path separator is colon (':'), like in UNIX's $PATH. And I think it overrides default library path as well, when it should simply add search paths. Hm... I'll think about it.

P.S. Patches are welcome. I'm not sure when I'll try to implement that.

@VictorDenisov
Copy link
Author

Ok, I see now. I had an old version of gocode.

@nsf
Copy link
Owner

nsf commented Sep 3, 2011

Since commit X (I don't remember exactly when, but quite some time ago) gocode uses 'lib-path' as a specifier for additional paths to search for a package in. Plus of course it supports lists of paths both on windows and linux. Closing an issue.

@nsf nsf closed this as completed Sep 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants