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:
@@ -34,10 +34,11 @@ public:
|
||||
UnCommentSelection = 2,
|
||||
UnCollapseAll = 4,
|
||||
FollowSymbolUnderCursor = 8,
|
||||
JumpToFileUnderCursor = 16,
|
||||
RenameSymbol = 32,
|
||||
FindUsage = 64,
|
||||
CallHierarchy = 128
|
||||
FollowTypeUnderCursor = 16,
|
||||
JumpToFileUnderCursor = 32,
|
||||
RenameSymbol = 64,
|
||||
FindUsage = 128,
|
||||
CallHierarchy = 256
|
||||
};
|
||||
using TextEditorWidgetResolver = std::function<TextEditorWidget *(Core::IEditor *)>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user