Code Snippets for PrestDom in PureScript Syntax
Type part of a snippet, press enter
, and the snippet unfolds.
Snippet | Purpose |
---|---|
_ll |
linearLayout |
_rl |
relativeLayout |
_tv |
textView |
_et |
editText |
_iv |
imageView |
_llHW |
linearLayout with weight "1" and width $ V 1 |
_llVW |
linearLayout with weight "1" and height $ V 1 |
Snippet | Purpose |
---|---|
_sh |
shadow |
_mg |
margin |
_pd |
padding |
Snippet | Purpose |
---|---|
_acc |
accessor |
_di |
derive instance |
- Install Visual Studio Code 1.35.1 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) orCmd
-Shift
-P
(OSX) - Type and Select
Install Extension
- Search
PrestoDom Snippets
and click install - Done