在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\"",
}
],
最佳答案
如果'env'标签存在问题并将其重置,您可以尝试extra_paths吗?
{
"settings": {
"extra_paths":
[
"/Users/nyx/test"
]
}
}
关于python - 防止Sublime文本覆盖.sublime-project,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/33643793/