Skip to content

Commit 1297b60

Browse files
committed
update: adjusting comments snippets keys
1 parent 809eacb commit 1297b60

19 files changed

+93
-67
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,20 @@ You can see all installed snippets in `Tools > Snippets...`, in the sublime text
2020
- [WAI-ARIA - hw.*](snippets/html/wai-aria)
2121
- [CSS - c*](snippets/css/)
2222
- [JavaScript - j*](snippets/js/vanilla)
23-
- [BDD - b*](snippets/js/bdd)
24-
- [jQuery - jq*](snippets/js/jquery)
23+
- Libraries
24+
- [jQuery - jq*](snippets/js/libraries/jquery)
25+
- Patterns
26+
- Tests
27+
- [Structure - ts.*](snippets/js/tests/structure)
28+
- [BDD - tb.*](snippets/js/tests/bdd)
29+
- [TDD - tt.*](snippets/js/tests/tdd)
2530
- Schema.org
2631
- [Microdata](snippets/schema/microdata)
2732
- [External - e*](snippets/external/)
2833
- [Comment](snippets/comment/)
29-
- [HTML - xh*](snippets/comment/html)
30-
- [CSS - xc*](snippets/comment/css)
31-
- [JavaScript - xj*](snippets/comment/js)
34+
- [HTML - hc.*](snippets/comment/html)
35+
- [CSS - cc.*](snippets/comment/css)
36+
- [JavaScript - jc.*](snippets/comment/js)
3237
- [Structure data](snippets/structured-data) (***examples***)
3338
- [Microdata - zmicrodata](snippets/structured-data/microdata)
3439
- [JSON-LD - zjsonld](snippets/structured-data/json-ld)

messages/install.txt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,6 @@ Front-end Project Snippets
33

44
You can see all installed snippets in Tools > Snippets... .
55

6-
Snippets:
7-
- HTML
8-
- Microdata
9-
- WAI-ARIA
10-
- CSS
11-
- JavaScript
12-
- BDD
13-
- jQuery
14-
- Schema.org
15-
- Microdata
16-
- External
17-
- Comment
18-
- HTML
19-
- CSS
20-
- JavaScript
21-
- Structure data (examples)
22-
- Microdata
23-
- JSON-LD
24-
- RDFa
25-
26-
276
To find out more checkout the readme at https://github.com/brazilian-dev/sublime-front-end-snippets
287

298
Report issues at https://github.com/brazilian-dev/sublime-front-end-snippets/issues

snippets/comment/css/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# CSS Comments Snippets
22

3-
Prefix `xc*`
3+
Prefix `cc.*`
44

5-
### [xcbasic] basic
5+
### [cc.basic] basic
66

77
```css
88
/* ${1:Basic comment} */
99
```
1010

11-
### [xcblock] block
11+
### [cc.block] block
1212

1313
```css
1414
/**
@@ -17,15 +17,15 @@ Prefix `xc*`
1717
*/
1818
```
1919

20-
### [xcsection] section
20+
### [cc.section] section
2121

2222
```css
2323
/* ==========================================================================
2424
${1:Section}
2525
========================================================================== */
2626
```
2727

28-
### [xcsubsection] sub-section
28+
### [cc.subsection] sub-section
2929

3030
```css
3131
/* ${1:Sub-section}

snippets/comment/css/css-comment-basic.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<content><![CDATA[
33
/* ${1:Basic comment} */
44
]]></content>
5-
<tabTrigger>xcbasic</tabTrigger>
6-
<description>xc - Basic Comment</description>
5+
<tabTrigger>cc.basic</tabTrigger>
6+
<description>cc - Basic Comment</description>
77
</snippet>

snippets/comment/css/css-comment-block.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
*
66
*/
77
]]></content>
8-
<tabTrigger>xcblock</tabTrigger>
9-
<description>xc - Block Comment</description>
8+
<tabTrigger>cc.block</tabTrigger>
9+
<description>cc - Block Comment</description>
1010
</snippet>

snippets/comment/css/css-comment-section.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
${1:Section}
55
========================================================================== */
66
]]></content>
7-
<tabTrigger>xcsection</tabTrigger>
8-
<description>xc - Section Comment</description>
7+
<tabTrigger>cc.section</tabTrigger>
8+
<description>cc - Section Comment</description>
99
</snippet>

snippets/comment/css/css-comment-sub-section.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
/* ${1:Sub-section}
44
========================================================================== */
55
]]></content>
6-
<tabTrigger>xcsubsection</tabTrigger>
7-
<description>xc - Sub-section Comment</description>
6+
<tabTrigger>cc.subsection</tabTrigger>
7+
<description>cc - Sub-section Comment</description>
88
</snippet>

snippets/comment/html/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
# HTML Comments Snippets
22

3-
Prefix `xh*`
3+
Prefix `hc.*`
44

5-
### [xhbasic] basic
5+
### [hc.basic] basic
66

77
```html
88
<!-- ${1:div} -->
99
```
1010

11-
### [xhblock] block
11+
### [hc.block] block
1212

1313
```html
1414
<!-- ${1:title}
1515
${2:description}
1616
-->
1717
```
1818

19-
### [xhcond] conditional
19+
### [hc.cond] conditional
2020

2121
```html
2222
<!--[if ${1:IE} ${2:8}]>
2323
${3}
2424
<![endif]-->
2525
```
2626

27-
### [xhend] end tag
27+
### [hc.end] end tag
2828

2929
```html
3030
<!-- // ${1:div} -->

snippets/comment/html/html-basic.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<content><![CDATA[
33
<!-- ${1:div} -->
44
]]></content>
5-
<tabTrigger>xhbasic</tabTrigger>
6-
<description>xh - Basic Comment</description>
5+
<tabTrigger>hc.basic</tabTrigger>
6+
<description>hc - Basic Comment</description>
77
</snippet>

snippets/comment/html/html-block.sublime-snippet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
${2:description}
55
-->
66
]]></content>
7-
<tabTrigger>xhblock</tabTrigger>
8-
<description>xh - Block Comment</description>
7+
<tabTrigger>hc.block</tabTrigger>
8+
<description>hc - Block Comment</description>
99
</snippet>

0 commit comments

Comments
 (0)