Files
eepp/bin/assets/plugins/formatters.json
Martín Lucas Golini 32b6aab371 Updated SOIL2.
Allow to register space for the upper zone of the UICodeEditor.
ecode: Minor fixes.
2022-12-22 01:44:36 -03:00

48 lines
1.0 KiB
JSON

{
"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": ["%.json$", "%.cson$"],
"command": "json",
"type": "native"
},
{
"file_patterns": ["%.xml", "%.html?$"],
"command": "xml",
"type": "native"
},
{
"file_patterns": ["%.css"],
"command": "css",
"type": "native"
}
]
}