Can I set environment variables in a .sublime-project file?

I want some environment variables to be set in Sublime Text when opening a project. This is for the most part simple for some plugins that require their installation.

I believe there is a function request for this, but I was still wondering if this could be anyway.

http://sublimetext.userecho.com/topic/103881-sublime-project-should-also-be-able-to-set-environment-variable/

I am asking about this specifically in relation to the GoSublime plugin for which I would like to change the GOPATH between projects.

+6
source share
1 answer

I see that you have linked my request to sublime userecho. Unfortunately, nothing really happened there, so I developed my own plugin for this.

If you're still interested look at this: https://bitbucket.org/daniele-niero/environmentsettings

I also made a pull request for package management to make the plugin available with it.

+2
source

Source: https://habr.com/ru/post/976094/


All Articles