Auto-completion of the new property keywords and functions

This commit is contained in:
Olivier Goffart 2022-12-08 09:00:02 +01:00 committed by Olivier Goffart
parent c2895a44af
commit c05e63f9da

View file

@ -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 ]"),