【问题标题】:Where to edit sublime text js beautify setting?在哪里编辑 sublime text js 美化设置?
【发布时间】:2016-04-09 12:28:39
【问题描述】:

我正在尝试使用 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 文本中具体在哪里进行更改?

【问题讨论】:

  • 可能@Menu/Preferences/PackageSettings/JavaScriptBeautify/Settings-User
  • 谢谢!欣赏它

标签: sublime-text-plugin js-beautify


【解决方案1】:

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

猜你喜欢
  • 1970-01-01
  • 2013-09-27
  • 2014-07-10
  • 2014-05-22
  • 1970-01-01
  • 1970-01-01
  • 2016-01-26
  • 2014-04-01
  • 1970-01-01
相关资源
最近更新 更多