MCPcopy Create free account
hub / github.com/cpeditor/cpeditor / onLSPTimerElapsedPython

Method onLSPTimerElapsedPython

src/appwindow.cpp:1041–1051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1039}
1040
1041void AppWindow::onLSPTimerElapsedPython()
1042{
1043 auto *tab = currentWindow();
1044 if (tab == nullptr)
1045 return;
1046
1047 if (SettingsHelper::isLSPUseLintingPython() && tab->getLanguage() == "Python")
1048 pythonServer->requestLinting();
1049
1050 lspTimerPython->stop();
1051}
1052
1053void AppWindow::onSettingsApplied(const QString &pagePath)
1054{

Callers

nothing calls this directly

Calls 3

getLanguageMethod · 0.80
requestLintingMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected