MCPcopy Create free account
hub / github.com/SpartanJ/eepp / asyncFuzzyMatchTextDocumentSymbol

Method asyncFuzzyMatchTextDocumentSymbol

src/tools/ecode/universallocator.cpp:1117–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1115}
1116
1117void UniversalLocator::asyncFuzzyMatchTextDocumentSymbol(
1118 const LSPSymbolInformationList& list, const std::string& query, const size_t& limit,
1119 std::function<void( std::shared_ptr<LSPSymbolInfoModel> )> cb ) {
1120 mApp->getThreadPool()->run( [this, list, query, limit, cb] {
1121 cb( LSPSymbolInfoModel::create(
1122 mUISceneNode, query, fuzzyMatchTextDocumentSymbol( list, query, limit ), true ) );
1123 } );
1124}
1125
1126std::vector<ProjectDirectoryTree::CommandInfo> UniversalLocator::getLocatorCommands() const {
1127 std::vector<ProjectDirectoryTree::CommandInfo> vec;

Callers

nothing calls this directly

Calls 3

runMethod · 0.45
getThreadPoolMethod · 0.45

Tested by

no test coverage detected