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

Method initSymbol

src/plugins/codeeditor/codeeditor.cpp:240–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void CodeEditor::initSymbol()
241{
242 auto locatorSrv = dpfGetService(LocatorService);
243 if (!locatorSrv)
244 return;
245
246 SymbolLocator *locator = new SymbolLocator(workspaceWidget);
247 locator->setWorkspaceWidget(workspaceWidget);
248 locatorSrv->registerLocator(locator);
249
250 SymbolWidgetGenerator::instance()->registerToDock(workspaceWidget);
251}
252
253void CodeEditor::registerVariables()
254{

Callers

nothing calls this directly

Calls 3

setWorkspaceWidgetMethod · 0.80
registerLocatorMethod · 0.80
registerToDockMethod · 0.80

Tested by

no test coverage detected