Hello sublimers,
is it possible to use some home variable (~, $HOME) in sublime project config file? I found something in Variable for $Home Directory? but have no idea how to use it in project settings. Thanks.
Stefan
Home variable in project config
0 Likes
rwols
#2
When you open the console and type
>>> window.extract_variables()
You will find all of the possible variables that you can use. Unfortunately, HOME
or ~
is not one of them.
Note that for the "folders"
key, you can use relative paths:
{
"folders":
[
{
"path": "."
}
],
"settings":
{
}
}
So, if you just put your sublime project file at the root of your project folder, it will pick up the root directory.
1 Like