GoSublime icon indicating copy to clipboard operation
GoSublime copied to clipboard

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

Open ccll opened this issue 10 years ago • 3 comments

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.

ccll avatar Mar 01 '15 17:03 ccll

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

sigurdteigen avatar Mar 25 '15 16:03 sigurdteigen

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

mafredri avatar Jun 02 '15 10:06 mafredri

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

davidzhao avatar Jun 08 '15 23:06 davidzhao