forked from qt-creator/qt-creator
LocatorMatcher: Introduce LocatorMatcherTaskCreator
Register cpp and lsp matchers for all symbols, classes and functions. Change-Id: Id85c8164077ec395dac7e6ff45acc89db9e6ae08 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -24,6 +24,7 @@ QT_END_NAMESPACE
|
||||
|
||||
namespace Core { class IEditor; }
|
||||
namespace CppEditor { class RefactoringEngineInterface; }
|
||||
namespace LanguageClient { class Client; }
|
||||
namespace TextEditor { class TextEditorWidget; }
|
||||
|
||||
namespace ClangCodeModel {
|
||||
@@ -45,6 +46,7 @@ public:
|
||||
TextEditor::TextDocument *baseTextDocument) override;
|
||||
bool usesClangd(const TextEditor::TextDocument *document) const override;
|
||||
|
||||
static QList<LanguageClient::Client *> clientsForOpenProjects();
|
||||
static ClangdClient *clientForProject(const ProjectExplorer::Project *project);
|
||||
static ClangdClient *clientForFile(const Utils::FilePath &file);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user