You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,10 @@ Hyper JavaScript Snippets is a snippets collection for JavaScript and TypeScript
9
9
10
10
Install from VSCode Extension Marketplace [Hyper JavaScript Snippets](https://marketplace.visualstudio.com/items?itemName=t7yang.hyper-javascript-snippets).
11
11
12
-
## Philosophy
13
-
1. Easy Learn - related snippets share a same namespace or pattern, like every `for` loop prefix start with `fo`, all assignment snippet share `*a` pattern.
12
+
## Advantages
13
+
1. Easy Learn - related snippets shared a same namespace or pattern, like every `for` loop prefix start with `fo`, all assignment snippet share `*a` pattern.
14
14
2. Composable - No semicolon (point-free friendly), no newline, no placeholder, small snippet, the very end tabstop as possible, make composing snippets friendly.
15
-
3. Avoid conflict and meaningful - Name prefix with no meaningful word to avoid conflict with variable name and built-in snippets prefix (as possible).
15
+
3. Avoid conflict - Try to avoid snippet's prefix conflict with variable name and built-in snippet's prefix.
16
16
17
17
## Suggestions
18
18
- Use [Prettier](https://prettier.io/) to help you formating your code.
0 commit comments