Skip to content

Commit dd31db2

Browse files
authored
Merge pull request #24 from dons20/develop
Published Version v1.4.4
2 parents 41041fd + 94e601b commit dd31db2

File tree

8 files changed

+856
-824
lines changed

8 files changed

+856
-824
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1+
<!-- IMPORTANT! -->
2+
<!-- Everything between these tags are comments -->
3+
<!-- They will help to guide you with creating a proper issue and receive a quicker resolution to your issue -->
4+
15
<!-- BUG REPORT TEMPLATE -->
26
<!--
37
Please double check the checklist below, and
48
place an 'x' inside each box that you've confirmed before submitting.
9+
Do not put any spaces inside the box if you've put an 'x' inside it.
10+
If
511
e.g. [x] Check that you are running the latest version of Visual Studio Code
12+
13+
At any time, click the Preview Tab to view a realtime preview of your issue.
614
-->
715

816
- [ ] Check that you are running the latest version of Visual Studio Code
9-
- [ ] Check that you are running the latest version of the snippet plugin (UIkit 3.0 Snippets 1.4.0)
10-
- [ ] Check that the extension is enabled
17+
- [ ] Check that you are running the latest version of the `UIKit 3.0 Snippets` plugin: (1.4.3)
18+
- [ ] Check that the `UIKit 3.0 Snippets` extension is enabled
1119
- [ ] Check that your editor suggestions are enabled (or manually trigger them with <kbd>Ctrl</kbd> + <kbd>Space</kbd>
1220

1321
### Problem Encountered
@@ -19,4 +27,3 @@
1927
1. Step 1 ...
2028
2. Step 2 ...
2129

22-
<!-- FEATURE REQUEST TEMPLATE -->

.github/README.md

Lines changed: 729 additions & 728 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Version 1.4.4 (November 29, 2020)
2+
3+
🎄 Thank you all for 20K+ downloads, Happy Holidays, and stay safe ♥
4+
5+
* 💡 Updated to UIkit 3.5.9
6+
7+
* 💡 Updated some broken/outdated links, and created a better preview GIF
8+
9+
* ✅ Added `uk-text-default`
10+
111
# Version 1.4.3 (June 14, 2020)
212

313
## Contributions

CONTRIBUTING.md

Lines changed: 38 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,35 @@
11
Contribution Guidelines
22
---
33
1. Clone this repo
4-
2. All the snippets are located inside of `/snippets/snippets.json`.
5-
3. a. For new entries, copy the snippet syntax below (or an existing one for simplicity)
4+
2. All the snippets are located inside of the `/snippets/` folder.
5+
6+
- `javascript.json` for Javascript related snippets
7+
- `snippets.code-snippets` for all other snippets
8+
9+
3. How to modify:
10+
11+
a. For new entries, copy the snippet syntax below (or an existing one for simplicity)
612

713
b. For existing entries, simply search the list `Ctrl+F`, and modify as you like.
814

9-
4. Send me a Pull Request
15+
4. Submit a [pull request](https://github.com/dons20/UIKit-VSCode/pulls) to the repository.
1016

1117
#### Snippet Template
1218

1319
```json
1420
"snippet-uk-PREFIX": {
1521
"prefix": "uk-PREFIX",
16-
"body": [ "HTML HERE",
17-
"Multiple Lines Seperated with double quotes and a comma",
18-
"Last Line does not have a comma"
19-
],
22+
"body": [
23+
"HTML HERE",
24+
"Multiple Lines Seperated with double quotes and a comma",
25+
"\t Lines that start with the tab character, can be visually tabbed for better readability, but its not required",
26+
"Set tab locations with $0 - any number you specify, with $0 automatically being the last tab location",
27+
"Last Line does not have a comma"
28+
],
2029
"description": "Enter your description here"
2130
},
2231
```
23-
Be sure to modify the list of commands in `README.md` with your changes as well!
32+
If applicable, please update the list of commands in `README.md` with your changes if you added or renamed a snippet.
2433

2534
Snippet Modification Tips
2635
---
@@ -35,16 +44,18 @@ First, [check out Microsoft's offical documentation on snippets](https://code.vi
3544

3645
HTML code needs to have proper indentation to be human readable, so use the `\t` modifier in front of a string in the `"body"` to tab it in. You can combine multiple `\t` characters to properly indent the code as you like.
3746

38-
Take this example below:
47+
Take the body portion of a snippet example below:
3948

4049
```json
50+
{
4151
...
42-
"body": [ "<html>",
43-
"\t<body>",
44-
"\t</body>",
45-
"</html>"
52+
"body": [
53+
"<html>",
54+
"\t<body>",
55+
"\t</body>",
56+
"</html>"
4657
],
47-
...
58+
}
4859
```
4960

5061
When inserted into a document, it would be displayed as:
@@ -59,33 +70,31 @@ When inserted into a document, it would be displayed as:
5970
#### Testing Changes:
6071

6172
1. Press `F1` in Visual Studio Code
62-
2. Click on "Preferences: Open User Snippets"
73+
2. Click on "Preferences: Configure User Snippets"
6374
3. Click on HTML
6475
4. Copy the contents of `html.json` from the existing project, to your user snippets.
65-
5. Create a local `.html` file to test it in.
76+
5. Create a local `html` file to test it in... e.g. `test.html`
6677
6. Start typing in the command you wish to test.
6778

6879
#### Tab Locations
6980

7081
When a user enters a snippet, you may want to add some placeholder content for them to modify with ease, simply by pressing tab to cycle through them. The official documentation covers this more, but here are two simple examples.
7182

72-
You can have a user tab through locations in order from 1-anything, but 0 is the final stop for the tab.
83+
You can have a user tab through locations in order from 1 to any number, but `0` is the final stop for the tab.
7384
```json
74-
...
75-
"body": [ "<h1>$1</h1>",
76-
"<p>$2</p>",
77-
"<p>$0</p>"
78-
],
79-
...
85+
"body": [
86+
"<h1>$1</h1>",
87+
"<p>$2</p>",
88+
"<p>$0</p>"
89+
],
8090
```
8191

8292
You can also have placeholder content that is automatically highlighted when the user tabs to it.
8393

8494
```json
85-
...
86-
"body": [ "<h1>${1:Sample header}</h1>",
87-
"<p>${2:Paragraph 1}</p>",
88-
"<p>${0:Final Stop}</p>"
89-
],
90-
...
95+
"body": [
96+
"<h1>${1:Sample header}</h1>",
97+
"<p>${2:Paragraph 1}</p>",
98+
"<p>${0:Final Stop}</p>"
99+
],
91100
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Installs](https://vsmarketplacebadge.apphb.com/installs/Keno.uikit-3-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=Keno.uikit-3-snippets)
55
[![Rating](https://vsmarketplacebadge.apphb.com/rating/Keno.uikit-3-snippets.svg)](https://marketplace.visualstudio.com/items?itemName=Keno.uikit-3-snippets)
66

7-
[![Demo Image](https://zippy.gfycat.com/AmusingGiftedJumpingbean.gif)](https://gfycat.com/AmusingGiftedJumpingbean)
7+
[![Demo Image](https://thumbs.gfycat.com/WeakRemorsefulHornshark-size_restricted.gif)](https://gfycat.com/weakremorsefulhornshark)
88

99
## [🌞 View the Changelog](https://marketplace.visualstudio.com/items/Keno.uikit-3-snippets/changelog) to see what's new!
1010
---

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "UIkit 3.0 Snippets",
44
"publisher": "Keno",
55
"description": "UIkit 3.0 Snippets based on official documentation",
6-
"version": "1.4.3",
6+
"version": "1.4.4",
77
"license": "SEE LICENSE IN LICENSE.md",
88
"icon": "images/icon.png",
99
"galleryBanner": {

0 commit comments

Comments
 (0)