Skip to content

Commit 728c495

Browse files
committed
Add a lot of other formats
1 parent 0f23420 commit 728c495

15 files changed

Lines changed: 150 additions & 40 deletions

package.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,24 @@
1111
],
1212
"license": "MIT",
1313
"commands": [
14+
{
15+
"name": "format-angular",
16+
"title": "Format Angular",
17+
"description": "Formats Angular on the clipboard",
18+
"mode": "view"
19+
},
20+
{
21+
"name": "format-css",
22+
"title": "Format CSS",
23+
"description": "Formats CSS on the clipboard",
24+
"mode": "view"
25+
},
26+
{
27+
"name": "format-glimmer",
28+
"title": "Format Glimmer",
29+
"description": "Formats Glimmer on the clipboard",
30+
"mode": "view"
31+
},
1432
{
1533
"name": "format-graphql",
1634
"title": "Format GraphQL",
@@ -23,18 +41,66 @@
2341
"description": "Formats HTML on the clipboard",
2442
"mode": "view"
2543
},
44+
{
45+
"name": "format-javascript",
46+
"title": "Format JavaScript",
47+
"description": "Formats JavaScript on the clipboard",
48+
"mode": "view"
49+
},
2650
{
2751
"name": "format-json",
2852
"title": "Format JSON",
2953
"description": "Formats JSON on the clipboard",
3054
"mode": "view"
3155
},
56+
{
57+
"name": "format-json5",
58+
"title": "Format JSON5",
59+
"description": "Formats JSON5 on the clipboard",
60+
"mode": "view"
61+
},
62+
{
63+
"name": "format-less",
64+
"title": "Format Less",
65+
"description": "Formats Less on the clipboard",
66+
"mode": "view"
67+
},
68+
{
69+
"name": "format-lwc",
70+
"title": "Format LWC",
71+
"description": "Formats LWC on the clipboard",
72+
"mode": "view"
73+
},
74+
{
75+
"name": "format-markdown",
76+
"title": "Format Markdown",
77+
"description": "Formats Markdown on the clipboard",
78+
"mode": "view"
79+
},
80+
{
81+
"name": "format-mdx",
82+
"title": "Format MDX",
83+
"description": "Formats MDX on the clipboard",
84+
"mode": "view"
85+
},
86+
{
87+
"name": "format-scss",
88+
"title": "Format SCSS",
89+
"description": "Formats SCSS on the clipboard",
90+
"mode": "view"
91+
},
3292
{
3393
"name": "format-typescript",
3494
"title": "Format TypeScript",
3595
"description": "Formats TypeScript on the clipboard",
3696
"mode": "view"
3797
},
98+
{
99+
"name": "format-vue",
100+
"title": "Format VUE",
101+
"description": "Formats VUE on the clipboard",
102+
"mode": "view"
103+
},
38104
{
39105
"name": "format-yaml",
40106
"title": "Format YAML",

src/format-angular.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.angular;

src/format-css.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.css;

src/format-glimmer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.glimmer;

src/format-javascript.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.javascript;

src/format-json5.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.json5;

src/format-less.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.less;

src/format-lwc.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.lwc;

src/format-markdown.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.markdown;

src/format-mdx.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import format from "./format";
2+
3+
export default format.mdx;

0 commit comments

Comments
 (0)