alioygur
alioygur

Reputation: 5464

sublime text 2 how to set environment variable

i want set Environment variables.

that says 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.

but i cant found .sublime-options file.

i want set the $TM_FILENAME and $TM_FULLNAME variables.

Upvotes: 3

Views: 4097

Answers (1)

liuyork
liuyork

Reputation: 64

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.

Upvotes: 4

Related Questions