mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-18 03:13:34 +00:00
Auto-completion of the new property keywords and functions
This commit is contained in:
parent
c2895a44af
commit
c05e63f9da
1 changed files with 6 additions and 0 deletions
|
|
@ -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 ]"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue