Sublime text 2 how to set an environment variable

I want to set environment variables.

which reads http://docs.sublimetext.info/en/latest/extensibility/snippets.html;

Function snippets Environment variables Switches have access to contextual information in the form of environment variables. sublime Text automatically sets the values โ€‹โ€‹of the variables listed below.

You can also add your own variables to provide additional information. These custom variables are defined in .sublime-options files.

but I could not find the .sublime-options file.

I want to set the variables $ TM_FILENAME and $ TM_FULLNAME.

+4
source share
1 answer

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

+5
source

Source: https://habr.com/ru/post/1439879/


All Articles