https://github.com/iarthstar/vsce-presto-dom
Code Snippets for PrestDom in PureScript Syntax
https://github.com/iarthstar/vsce-presto-dom
presto presto-dom purescript vscode vscode-extension vscode-snippets
Last synced: about 2 months ago
JSON representation
Code Snippets for PrestDom in PureScript Syntax
- Host: GitHub
- URL: https://github.com/iarthstar/vsce-presto-dom
- Owner: iarthstar
- License: mit
- Created: 2019-06-24T16:51:14.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T06:06:06.000Z (over 5 years ago)
- Last Synced: 2025-01-13T21:26:50.837Z (3 months ago)
- Topics: presto, presto-dom, purescript, vscode, vscode-extension, vscode-snippets
- Size: 505 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PrestoDom Snippets 
Code Snippets for PrestDom in PureScript Syntax

## Usage
Type part of a snippet, press `enter`, and the snippet unfolds.
### View Snippets
| 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 |### Prop Snippets
| Snippet | Purpose |
| -------------------- | -------------------------------------------------- |
| `_sh` | shadow |
| `_mg` | margin |
| `_pd` | padding |### Misc Snippets
| Snippet | Purpose |
| -------------------- | -------------------------------------------------- |
| `_acc` | accessor |
| `_di` | derive instance |## Installation
1. Install Visual Studio Code 1.35.1 or higher
2. Launch Code
3. From the command palette `Ctrl`-`Shift`-`P` (Windows, Linux) or `Cmd`-`Shift`-`P` (OSX)
4. Type and Select `Install Extension`
5. Search `PrestoDom Snippets` and click install
6. Done