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

Expand project directory in per-project settings to get a relative path #607

Open
ccll opened this Issue Mar 1, 2015 · 3 comments

Comments

Projects
None yet
4 participants
@ccll

ccll commented Mar 1, 2015

Is there a way to specify a path relative to current project folder?

I'm using a vendoring/locking tool (goop or godep) to lock the version of dependencies, the tools put all 3rdparty packages in a separate GOPATH like "./.vendor", so 'GS_GOPATH' is not working for me, I think the best approach is to specify a relative path in per-project settings, e.g.
"GOPATH": "${project_folder}/.vendor"

I've implemented this for another plugin SublimeLinter-clang, so maybe I can port it to GoSublime if there isn't one, but I thought better ask here first.

@sigurdteigen

This comment has been minimized.

sigurdteigen commented Mar 25, 2015

+1. just started using godep and I want to have multiple folders open. Please merge this.

@mafredri

This comment has been minimized.

mafredri commented Jun 2, 2015

What's the status on this? GoSublime is quite painful to use with Godeps at this moment :(.

@davidzhao

This comment has been minimized.

davidzhao commented Jun 8, 2015

Would love to have this feature. @DisposaBoy, any chance of merging this in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment