summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-07-06 12:24:24 -0300
committerGeorge Marques <george@gmarqu.es>2020-07-20 11:38:40 -0300
commitaa09b4f85d94b9d563a0b2cbaa399427527ce6fc (patch)
treeeaa75dc439a53a972fb377c24138c8b6957cf5f6 /editor/code_editor.cpp
parentb6a2628c48ce7639e5f42caf43525fc2b9dae450 (diff)
downloadredot-engine-aa09b4f85d94b9d563a0b2cbaa399427527ce6fc.tar.gz
Reintroduce code completion
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index d8648310b6..9a87d6d38c 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -1778,6 +1778,7 @@ CodeTextEditor::CodeTextEditor() {
cs.push_back("(");
cs.push_back("=");
cs.push_back("$");
+ cs.push_back("@");
text_editor->set_completion(true, cs);
idle->connect("timeout", callable_mp(this, &CodeTextEditor::_text_changed_idle_timeout));