在Mac OS X上运行带有Anaconda IDE package的Sublime Text 3,当我编辑.sublime-project
文件时,由于某种原因,某些更改将在一段时间后被删除。
任何想法如何防止这种情况?
之前
{
"build_systems":
[
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"name": "Anaconda Python Builder",
"selector": "source.python",
"shell_cmd": "~/anaconda/envs/test/bin/python -u \"$file\"",
"env": {
"PYTHONPATH": "/Users/nyx/test"
}
}
],
后
env
设置已删除。不确定是什么触发了这个
{
"build_systems":
[
{
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"name": "Anaconda Python Builder",
"selector": "source.python",
"shell_cmd": "~/anaconda/envs/test/bin/python -u \"$file\"",
}
],
答案 0 :(得分:1)
如果它遇到“env”问题。标记并重置它,您可以尝试extra_paths吗?
{
"settings": {
"extra_paths":
[
"/Users/nyx/test"
]
}
}