sublime text 2 如何设置环境变量 [英] sublime text 2 how to set environment variable

查看:40
本文介绍了sublime text 2 如何设置环境变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设置环境变量.

表示 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.

您还可以添加自己的变量以提供额外信息.这些自定义变量在 .sublime-options 文件中定义.

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

但我找不到 .sublime-options 文件.

but i cant found .sublime-options file.

我想设置 $TM_FILENAME 和 $TM_FULLNAME 变量.

i want set the $TM_FILENAME and $TM_FULLNAME variables.

推荐答案

这个帖子可能有帮助:http://www.sublimetext.com/forum/viewtopic.php?f=3&t=3852.我在我的 macbook 上测试过,对我有用.

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.

这篇关于sublime text 2 如何设置环境变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆