Extensão para validar formatação de código QML por meio da ferramenta qmlformat
Arquivo config.json
{
"regexFile": ".*\\.qml",
"regexIgnore": [
".*.qrc"
],
"message": "Indentação incorreta no arquivo ${FILE_PATH}.<br><br><br>```${FORMMATED_QML}```",
"qmlFormat": {
"command": "/bin/qmlformat",
"arguments": ["--normalize", "--objects-spacing", "--functions-spacing"]
}
}