The editor now has context aware completions
This commit is contained in:
parent
1a1bbd0838
commit
960967c8a6
18 changed files with 1984 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class QTableView;
|
|||
|
||||
class QTabWidget;
|
||||
class SqlSyntaxHighlighter;
|
||||
class SqlCompletionProvider;
|
||||
class ExplainRoot;
|
||||
class QueryExplainModel;
|
||||
class PgTypeContainer;
|
||||
|
|
@ -80,6 +81,9 @@ private:
|
|||
|
||||
|
||||
std::shared_ptr<PgDatabaseCatalog> m_catalog;
|
||||
std::shared_ptr<SqlCompletionProvider> m_completionProvider; ///< built on first use, reset when the catalog is refreshed
|
||||
|
||||
void setupCompletion();
|
||||
ASyncDBConnection m_dbConnection;
|
||||
|
||||
std::unique_ptr<QueryExplainModel> explainModel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue