Sublime Forum

Where is .sublime-options file?

#1

hi, i want set Environment variables.

that say docs.sublimetext.info/en/latest/ … pets.html;

[quote]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.[/quote]

but i cant found .sublime-options file.

are anyone can help me ?

0 Likes

#2

It’s actually sublime-settings.

0 Likes

#3

thank for your fast reply.

how can i add $TM_FILENAME and $TM_FULLNAME variables ?

there is sublime-sttings file

ali@ali-desktop:~$ cat /home/ali/.config/sublime-text-2/Packages/Default/Preferences\ \(Linux\).sublime-settings 
{
	"font_face": "Monospace",
	"font_size": 10,
    "mouse_wheel_switches_tabs": true
}
0 Likes