在哪里编辑sublime文本js美化设置?

时间:2016-04-09 12:28:40

标签: sublime-text-plugin js-beautify

我正在尝试使用sublime text Javascript Beautify plugin,并且它说我需要更改为以下设置:

{
  "indent_size": 4,
  "indent_char": " ",
  "indent_level": 0,
  "indent_with_tabs": false,
  "preserve_newlines": true,
  "max_preserve_newlines": 10,
  "jslint_happy": false,
  "brace_style": "collapse",
  "keep_array_indentation": false,
  "keep_function_indentation": false,
  "space_before_conditional": true,
  "break_chained_methods": false,
  "eval_code": false,
  "unescape_strings": false,
  "wrap_line_length": 0,

  // jsbeautify options
  "format_on_save": true
}

我究竟要在sublime文本中进行此更改?

1 个答案:

答案 0 :(得分:4)

可以从Preferences/Package Settings菜单访问所有包裹设置。

enter image description here