代码格式强迫症必备:

[
{ "keys": [","], "command": "insert", "args": {"characters": ", "}},

{ "keys": ["="], "command": "insert", "args": { "characters": " = " }, "context":
    [
        { "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
        { "key": "selector", "operator": "equal", "operand": "source.python, source.lua", "match_all": true },
        { "key": "preceding_text", "operator": "regex_match", "operand": "^(([^(){}~=]*+)(\\((?:(?2)|(?3))*\\))?)(?1)*$", "match_all": true }
    ]
},

{ "keys": ["f1"], "command": "reindent","args": {"single_line": false}} , 

]

{
"hot_exit": false,
"open_files_in_new_window": false,
"preview_on_click": false,
"remember_open_files": false,
}

相关文章:

  • 2022-12-23
  • 2021-07-17
  • 2022-01-02
  • 2021-05-24
  • 2021-07-27
  • 2022-03-04
  • 2021-12-22
  • 2021-08-19
猜你喜欢
  • 2022-12-23
  • 2021-05-17
  • 2021-11-23
  • 2021-10-28
  • 2022-01-02
  • 2021-10-30
  • 2022-12-23
相关资源
相似解决方案