我想设置环境变量。
上面写着 https://docs.sublimetext.io/guide/extensibility/snippets.html
Snippet Features Environment Variables Snippets have access to contextual information in the form of environment variables. Sublime Text sets the values of the variables listed below automatically.
You can also add your own variables to provide extra information. These custom variables are defined in .sublime-options files.
但我找不到 .sublime-options 文件。
我想设置 $TM_FILENAME 和 $TM_FULLNAME 变量。
最佳答案
此线程可能有帮助:http://www.sublimetext.com/forum/viewtopic.php?f=3&t=3852 . 我在我的 macbook 上测试它并为我工作。
关于text-editor - sublime text 2如何设置环境变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12901537/