1+ {
2+ "scope" : " meta.embedded.datastar - meta.embedded.datastar support.function" ,
3+ "completions" : [
4+ {
5+ "trigger" : " @get()" ,
6+ "contents" : " @get($1)" ,
7+ "annotation" : " Datastar" ,
8+ "kind" : [" function" , " f" , " Action" ],
9+ "details" : " Sends a GET request to the backend and merges the response." ,
10+ },
11+ {
12+ "trigger" : " @post()" ,
13+ "contents" : " @post($1)" ,
14+ "annotation" : " Datastar" ,
15+ "kind" : [" function" , " f" , " Action" ],
16+ "details" : " Sends a POST request to the backend and merges the response." ,
17+ },
18+ {
19+ "trigger" : " @put()" ,
20+ "contents" : " @put($1)" ,
21+ "annotation" : " Datastar" ,
22+ "kind" : [" function" , " f" , " Action" ],
23+ "details" : " Sends a PUT request to the backend and merges the response." ,
24+ },
25+ {
26+ "trigger" : " @patch()" ,
27+ "contents" : " @patch($1)" ,
28+ "annotation" : " Datastar" ,
29+ "kind" : [" function" , " f" , " Action" ],
30+ "details" : " Sends a PATCH request to the backend and merges the response." ,
31+ },
32+ {
33+ "trigger" : " @delete()" ,
34+ "contents" : " @delete($1)" ,
35+ "annotation" : " Datastar" ,
36+ "kind" : [" function" , " f" , " Action" ],
37+ "details" : " Sends a DELETE request to the backend and merges the response." ,
38+ },
39+ {
40+ "trigger" : " @clipboard()" ,
41+ "contents" : " @clipboard($1)" ,
42+ "annotation" : " Datastar" ,
43+ "kind" : [" function" , " f" , " Action" ],
44+ "details" : " Copies the provided evaluated expression to the clipboard." ,
45+ },
46+ {
47+ "trigger" : " @setAll()" ,
48+ "contents" : " @setAll($1)" ,
49+ "annotation" : " Datastar" ,
50+ "kind" : [" function" , " f" , " Action" ],
51+ "details" : " Sets all matching signals to a provided value." ,
52+ },
53+ {
54+ "trigger" : " @toggleAll()" ,
55+ "contents" : " @toggleAll($1)" ,
56+ "annotation" : " Datastar" ,
57+ "kind" : [" function" , " f" , " Action" ],
58+ "details" : " Toggles all matching signal values." ,
59+ },
60+ {
61+ "trigger" : " @fit()" ,
62+ "contents" : " @fit($1)" ,
63+ "annotation" : " Datastar" ,
64+ "kind" : [" function" , " f" , " Action" ],
65+ "details" : " Makes a value linearly interpolate." ,
66+ },
67+ ],
68+ }
0 commit comments