Debian Codegraph @

CodeFormatter/fmtXmlLint.cpp

raw
1 #include "fmtXmlLint.hpp"
2
3 #include "Platform.hpp"
4
5 fmtXmlLint::fmtXmlLint()
6 {
7 SetName("xmllint");
8 SetFileTypes({ FileExtManager::TypeXRC, FileExtManager::TypeXml });
9 SetDescription(_("xmllint - command line XML tool"));
10 SetShortDescription(_("Xml formatter"));
11 wxString xml_lint_exe;
12 ThePlatform->Which("xmllint", &xml_lint_exe);
13 SetCommand({ xml_lint_exe, "--format", R"#("$(CurrentFileRelPath)")#" });
14 }
15
16 fmtXmlLint::~fmtXmlLint() {}