TextEditor: Add type hierarchy infrastructure

We want to support more than one back-end in the future.

Task-number: QTCREATORBUG-28116
Change-Id: I72020c94b36072a297e13f44130e5e2482922cd4
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2024-03-05 10:33:50 +01:00
parent f5de774d77
commit 3f457c158f
14 changed files with 238 additions and 56 deletions

View File

@@ -212,6 +212,8 @@ const char FIND_USAGES[] = "TextEditor.FindUsages";
// moved from CppEditor to TextEditor avoid breaking the setting by using the old key
const char RENAME_SYMBOL[] = "CppEditor.RenameSymbolUnderCursor";
const char OPEN_CALL_HIERARCHY[] = "TextEditor.OpenCallHierarchy";
const char OPEN_TYPE_HIERARCHY[] = "TextEditor.OpenTypeHierarchy";
const char TYPE_HIERARCHY_FACTORY_ID[] = "TextEditor.TypeHierarchy";
const char JUMP_TO_FILE_UNDER_CURSOR[] = "TextEditor.JumpToFileUnderCursor";
const char JUMP_TO_FILE_UNDER_CURSOR_IN_NEXT_SPLIT[] = "TextEditor.JumpToFileUnderCursorInNextSplit";