MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / init

Method init

src/plugins/codeeditor/lsp/languageclienthandler.cpp:51–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void LanguageClientHandlerPrivate::init()
52{
53 textChangedTimer.setSingleShot(true);
54 textChangedTimer.setInterval(200);
55
56 positionChangedTimer.setSingleShot(true);
57 positionChangedTimer.setInterval(250);
58
59 languageWorker = new LanguageWorker(q);
60 languageWorker->setTextEditor(editor);
61 languageWorker->moveToThread(&thread);
62 thread.start();
63
64 initConnection();
65 initLspConnection();
66 initIndicStyle();
67}
68
69void LanguageClientHandlerPrivate::initConnection()
70{

Callers 1

LanguageClientHandlerMethod · 0.45

Calls 2

setTextEditorMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected