sublime text 2 how to set environment variable

前提是你 提交于 2019-12-22 09:03:52

问题


i want set Environment variables.

that says http://docs.sublimetext.info/en/latest/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.

but i cant found .sublime-options file.

i want set the $TM_FILENAME and $TM_FULLNAME variables.


回答1:


This thread may help: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=3852 . I test it on my macbook and works for me.



来源:https://stackoverflow.com/questions/12901537/sublime-text-2-how-to-set-environment-variable

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!