试图禁用detect_slow_plugins [Sublime Text 2] [MAC]

时间:2017-02-28 04:48:59

标签: macos python-3.x editor sublimetext2 sublimetext

Sublime Text建议我关闭检测慢速插件,因为插件速度慢导致错误。

根据此建议https://forum.sublimetext.com/t/slow-plugin-warning/4598

我已经转到我的用户偏好文件,如下所示:

{
    "color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme"
}

,但每当我添加 " detect_slow_plugins":false (看起来像这样)

{
    "color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme"
    "detect_slow_plugins": false,
}

返回此错误:

Error trying to parse settings: Unexpected character, expected a comma 
or closing bracket in ~/Library/Application Support/Sublime Text
2/Packages/User/Preferences.sublime-settings:3:2

你们对我如何关闭detect_slow_Errors有什么想法吗?

1 个答案:

答案 0 :(得分:1)

color_scheme行之后有一个逗号丢失;它应该是:

{
    "color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
    "detect_slow_plugins": false,
}

该错误应该是相当自我解释的......