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

Method RemoveCodeStyle

CodeFormatLib/src/LuaCodeFormat.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void LuaCodeFormat::RemoveCodeStyle(const std::string &workspaceUri) {
40 for (auto it = _configs.begin(); it != _configs.end(); it++) {
41 if (it->Workspace == workspaceUri) {
42 _configs.erase(it);
43 break;
44 }
45 }
46}
47
48void LuaCodeFormat::SetDefaultCodeStyle(ConfigMap &configMap) {
49 if (!configMap.empty()) {

Callers 1

update_configFunction · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected