From c05e63f9da147347b04a1e87b65bcedc9ff34ad1 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 8 Dec 2022 09:00:02 +0100 Subject: [PATCH] Auto-completion of the new property keywords and functions --- tools/lsp/completion.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/lsp/completion.rs b/tools/lsp/completion.rs index e7ea75b04..9749f2cab 100644 --- a/tools/lsp/completion.rs +++ b/tools/lsp/completion.rs @@ -71,6 +71,12 @@ pub(crate) fn completion_at( r.extend( [ ("property", "property <$1> $2;"), + ("in property", "in property <$1> $2;"), + ("in-out property", "in-out property <$1> $2;"), + ("out property", "out property <$1> $2;"), + ("private property", "private property <$1> $2;"), + ("function", "function $1() {}"), + ("public function", "public function $1() {}"), ("callback", "callback $1();"), ("animate", "animate $1 { $2 }"), ("states", "states [ $1 ]"),