gpt4 book ai didi

Windows variable in Sublime Text Build(Sublime Text Build中的Windows变量)

转载 作者:bug小助手 更新时间:2023-10-25 15:25:34 27 4
gpt4 key购买 nike



Is there any way to use Windows variable in Sublime text build. I have ih s build system:

有没有办法在Sublime Text Build中使用Windows变量?我有一个S搭建的系统:


Is there any way to use Windows variable in Sublime text build. I have ih s build system:

有没有办法在Sublime Text Build中使用Windows变量?我有一个S搭建的系统:


 {
"name": "Python 11",
"cmd": ["C:/Users/user01/AppData/Local/Programs/Python/Python311/python.exe", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
},

I would kike to change user01 to be %USERNAME% as Windows variable so I don't have to change build system every time I switch computers. I have tried with %username% and %username but Sublime is not reading it's value.

我会考虑将user01更改为%USERNAME%作为Windows变量,这样我就不必在每次切换计算机时更改构建系统。我已经尝试使用%USERNAME%和%USERNAME%,但Sublime没有读取它的值。


I would kike to change user01 to be %USERNAME% as Windows variable so I don't have to change build system every time I switch computers. I have tried with %username% and %username but Sublime is not reading it's value.

我会考虑将user01更改为%USERNAME%作为Windows变量,这样我就不必在每次切换计算机时更改构建系统。我已经尝试使用%USERNAME%和%USERNAME%,但Sublime没有读取它的值。


更多回答
优秀答案推荐
更多回答

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com