Sublime Forum

.sublime-build file use data from .sublime-settings file?

#1

Hi - I already have some paths set in a .sublime-settings file for use by a package. I want to use the path specified in .sublime-settings also in the .sublime-build file for use with the “cmd” 1st argument. Is this possible so that I only have one singular place to specify that path?

Is it possible to have a .sublime-build file use information from a .sublime-settings file?

0 Likes

#2

You can only these variables in build systems. However, by modifying the “target” option of the build system you can pretty much do whatever you want in your own command (like calling the “exec” command manually).

0 Likes

#3

Thanks, “target” did what was needed to then access .sublime-settings data from a python plugin.

0 Likes