MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / UpdateDiagnosticStyle

Method UpdateDiagnosticStyle

CodeFormatCLib/src/CodeFormat.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void CodeFormat::UpdateDiagnosticStyle(InfoTree &tree) {
32 _diagnosticStyle = LuaDiagnosticStyle();
33 _diagnosticStyle.ParseTree(tree);
34 _diagnosticStyle.code_style_check = true;
35 _diagnosticStyle.name_style_check = false;
36 _diagnosticStyle.spell_check = false;
37}
38
39void CodeFormat::RemoveCodeStyle(const std::string &workspaceUri) {
40 for (auto it = _configs.begin(); it != _configs.end(); it++) {

Callers

nothing calls this directly

Calls 2

LuaDiagnosticStyleClass · 0.85
ParseTreeMethod · 0.80

Tested by

no test coverage detected