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

Method RemoveEditorconfig

CodeFormatServer/src/Service/ConfigService.cpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void ConfigService::RemoveEditorconfig(std::string_view workspace) {
68 for (auto it = _styleConfigs.begin(); it != _styleConfigs.end(); it++) {
69 if (it->Workspace == workspace) {
70 _styleConfigs.erase(it);
71 break;
72 }
73 }
74}
75
76void ConfigService::UpdateClientConfig(ClientConfig clientConfig) {
77

Callers 1

OnEditorConfigUpdateMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected