{ "config": { "auto_format_on_save": false }, "keybindings": { "format-doc": "alt+f" }, "formatters": [ { "file_patterns": ["%.js$", "%.ts$"], "command": "prettier $FILENAME" }, { "file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$"], "command": "clang-format --style=file $FILENAME" }, { "file_patterns": ["%.py$", "%.pyw$"], "command": "black $FILENAME", "type": "inplace" }, { "file_patterns": ["%.kt$"], "command": "ktlint -F $FILENAME", "type": "inplace" }, { "file_patterns": ["%.rs"], "command": "rustfmt --emit stdout --color never $FILENAME" }, { "file_patterns": ["%.go"], "command": "gopls format $FILENAME" }, { "file_patterns": ["%.json$", "%.cson$"], "command": "json", "type": "native" }, { "file_patterns": ["%.xml", "%.html?$"], "command": "xml", "type": "native" }, { "file_patterns": ["%.css"], "command": "css", "type": "native" } ] }