电子文本编辑器或textmate:什么是环境变量?或在电子文本中:环境 - KEY_____ VALUE_____
我确信这与编程/编码有关,在电子文本编辑器中,在“编辑>设置”下,有一个名为“环境”的选项卡,单击后您会看到两列,左侧为标题为 KEY,右侧为标题为“值”。我用 Google 搜索了一下,我认为它可能相当于 textmate 的 环境变量,这是他们的维基百科页面,显示了屏幕截图。我只是不明白“项目特定环境变量”是什么,以及您将使用它们做什么,例如?我该如何使用这个?
我很确定这对于 stackoverflow 来说是一个可以接受的问题,如果不是,那么我深表歉意。
I'm sure this has to do with programming/coding, in e-text editor, under edit>settings, there's a tab called "environment", when clicked on you see 2 columns, the left if titled KEY, and the right is titled VALUE. I Googled it and I think it might be the equivalent of textmate's Environment Variables, here's their wikipedia page that shows a screenshot. I just don't understand what 'Project Specific Environment Variables' are, and what you would use them for, an example? How would I use this?
I'm pretty sure this will be an acceptable question for stackoverflow, if not, then I apologize.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
大多数命令行编译器工具使用环境变量来控制编译和构建过程。
例如INCLUDE、LIB和LIBPATH是基于Windows的C/C++命令行编译器使用的典型环境变量。
以Microsoft C/C++编译器为例。要从命令行运行此编译器,您需要设置大量环境变量。
事实上,在此处输入代码进行编译需要如此多的环境变量,微软甚至提供了 vsvars32.bat 文件,该文件除了正确设置环境变量之外什么也不做。
Most command line compiler tools uses environment varibales to control the compile and build process.
For example INCLUDE, LIB and LIBPATH are typical environment variables used by Windows based C/C++ command line compilers.
Take for example the Microsoft C/C++ compiler. To run this compiler from the command line you need to setup a larger number of environment variables.
Infact this enter code herecompile needs so many environment variables, Microsoft even provides the vsvars32.bat file which does nothing more than correctly setup the environment variables.