forked from qt-creator/qt-creator
LanguageClient: support additional goto targets in symbol support
Allow to follow to the symbol definition as well as to the type definition for the symbol under the cursor position. Change-Id: I8ff50b33a1e739f81b0832b1b28ffc525e1f7177 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "languageclient_global.h"
|
||||
#include "languageclientsymbolsupport.h"
|
||||
#include "languageclientutils.h"
|
||||
#include "semantichighlightsupport.h"
|
||||
|
||||
@@ -45,7 +46,6 @@ class LanguageClientOutlineItem;
|
||||
class LanguageClientQuickFixProvider;
|
||||
class LanguageFilter;
|
||||
class ProgressManager;
|
||||
class SymbolSupport;
|
||||
|
||||
class LANGUAGECLIENT_EXPORT Client : public QObject
|
||||
{
|
||||
@@ -157,7 +157,8 @@ public:
|
||||
void findLinkAt(TextEditor::TextDocument *document,
|
||||
const QTextCursor &cursor,
|
||||
Utils::LinkHandler callback,
|
||||
const bool resolveTarget);
|
||||
const bool resolveTarget,
|
||||
LinkTarget target);
|
||||
DocumentSymbolCache *documentSymbolCache();
|
||||
HoverHandler *hoverHandler();
|
||||
QList<LanguageServerProtocol::Diagnostic> diagnosticsAt(const Utils::FilePath &filePath,
|
||||
|
||||
Reference in New Issue
Block a user