括号 - 无法编辑 defaultPreferences.json 文件(尝试将 linting 设置为 jshint 但不是 jslint)
Brackets - unable to edit defaultPreferences.json file (trying to set linting to jshint but not jslint)
我在 macbook pro 上使用 运行 括号,当我按 cmd+ 并尝试编辑 defaultPreferences.json 文件时,它不允许我对文件进行任何更改(没有任何反应当我打字时)。如果我重新启动 Brackets,我可以编辑该文件,但在关闭并重新打开首选项文件后,更改将被还原。
我曾尝试在 Brackets 关闭时使用 TextEdit 编辑 json 文件,但 Brackets 仍然喜欢反转更改。
我遇到了类似的问题,我确实打开了 issue at Bracket's GitHub repository,这是其开发人员的解决方案:-
defaultPreferences.json
is a read-only file: take the options you
want to modify and copy them to the brackets.json
file on the other
pane. This will override the defaults. You will also see code hints
while typing the values in to brackets.json
which will help picking
the correct options.
现在也可以安装 brackets-preferences 插件 并从那里进行编辑。安装后,转到 Brackets 界面中的“查看”->“首选项”以编辑首选项。
我在 macbook pro 上使用 运行 括号,当我按 cmd+ 并尝试编辑 defaultPreferences.json 文件时,它不允许我对文件进行任何更改(没有任何反应当我打字时)。如果我重新启动 Brackets,我可以编辑该文件,但在关闭并重新打开首选项文件后,更改将被还原。
我曾尝试在 Brackets 关闭时使用 TextEdit 编辑 json 文件,但 Brackets 仍然喜欢反转更改。
我遇到了类似的问题,我确实打开了 issue at Bracket's GitHub repository,这是其开发人员的解决方案:-
defaultPreferences.json
is a read-only file: take the options you want to modify and copy them to thebrackets.json
file on the other pane. This will override the defaults. You will also see code hints while typing the values in tobrackets.json
which will help picking the correct options.
现在也可以安装 brackets-preferences 插件 并从那里进行编辑。安装后,转到 Brackets 界面中的“查看”->“首选项”以编辑首选项。