Skip to content

Commit b426af7

Browse files
committed
Normalize all the line endings
1 parent 902c912 commit b426af7

34 files changed

Lines changed: 4387 additions & 4386 deletions

‎.gitattributes‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

‎CHANGELOG.md‎

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

‎LICENSE‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2016 - present Huachao Mao
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2016 - present Huachao Mao
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md‎

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

‎language-configuration.json‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
{
2-
"comments": {
3-
"lineComment": "#"
4-
},
5-
"brackets": [
6-
["{", "}"],
7-
["[", "]"],
8-
["<", ">"]
9-
],
10-
"autoClosingPairs": [
11-
["{", "}"],
12-
["[", "]"],
13-
["<", ">"],
14-
["\"", "\""]
15-
],
16-
"folding": {
17-
"markers": {
18-
"start": "^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|CONNECT|TRACE|curl)\\s+",
19-
"end": "^#{3,}$"
20-
}
21-
}
1+
{
2+
"comments": {
3+
"lineComment": "#"
4+
},
5+
"brackets": [
6+
["{", "}"],
7+
["[", "]"],
8+
["<", ">"]
9+
],
10+
"autoClosingPairs": [
11+
["{", "}"],
12+
["[", "]"],
13+
["<", ">"],
14+
["\"", "\""]
15+
],
16+
"folding": {
17+
"markers": {
18+
"start": "^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|CONNECT|TRACE|curl)\\s+",
19+
"end": "^#{3,}$"
20+
}
21+
}
2222
}

‎snippets/http.json‎

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,79 @@
1-
{
2-
"Get request block": {
3-
"prefix": "get",
4-
"body": [
5-
"GET ${1:url} HTTP/1.1"
6-
],
7-
"description": "GET Request"
8-
},
9-
"Delete request block": {
10-
"prefix": "delete",
11-
"body": [
12-
"DELETE ${1:url} HTTP/1.1"
13-
],
14-
"description": "DELETE Request"
15-
},
16-
"Post request block": {
17-
"prefix": "post",
18-
"body": [
19-
"POST ${1:url} HTTP/1.1",
20-
"${2:header name}: ${3:header value}",
21-
"",
22-
"${4:content}"
23-
],
24-
"description": "POST Request"
25-
},
26-
"Put request block": {
27-
"prefix": "put",
28-
"body": [
29-
"PUT ${1:url} HTTP/1.1",
30-
"${2:header name}: ${3:header value}",
31-
"",
32-
"${4:content}"
33-
],
34-
"description": "PUT Request"
35-
},
36-
"GraphQL request block": {
37-
"prefix": "graphql",
38-
"body": [
39-
"POST ${1:url} HTTP/1.1",
40-
"X-Request-Type: GraphQL",
41-
"${2:header name}: ${3:header value}",
42-
"",
43-
"${4:body content}",
44-
"",
45-
"${5:variables content(optional)}"
46-
]
47-
},
48-
"SOAP request block": {
49-
"prefix": "soap",
50-
"body": [
51-
"POST ${1:url} HTTP/1.1",
52-
"Content-Type: application/soap+xml",
53-
"${2:header name}: ${3:header value}",
54-
"",
55-
"<soap:Envelope",
56-
"\txmlns:soap=\"http://www.w3.org/2001/12/soap-envelope\"",
57-
"\tsoap:encodingStyle=\"http://www.w3.org/2001/12/soap-encoding\">",
58-
"\t<soap:Body>",
59-
"\t\t${4:content}",
60-
"\t</soap:Body>",
61-
"</soap:Envelope>"
62-
],
63-
"description": "SOAP Request"
64-
},
65-
"File level custom variable": {
66-
"prefix": "fv",
67-
"body": [
68-
"@${1:Variable_Name} = ${2:Variable_Value}"
69-
],
70-
"description": "Define Custom File Variable"
71-
},
72-
"Request variable": {
73-
"prefix": "rv",
74-
"body": [
75-
"# @name ${1:Request_Name}"
76-
],
77-
"description": "Define Request Variable"
78-
}
1+
{
2+
"Get request block": {
3+
"prefix": "get",
4+
"body": [
5+
"GET ${1:url} HTTP/1.1"
6+
],
7+
"description": "GET Request"
8+
},
9+
"Delete request block": {
10+
"prefix": "delete",
11+
"body": [
12+
"DELETE ${1:url} HTTP/1.1"
13+
],
14+
"description": "DELETE Request"
15+
},
16+
"Post request block": {
17+
"prefix": "post",
18+
"body": [
19+
"POST ${1:url} HTTP/1.1",
20+
"${2:header name}: ${3:header value}",
21+
"",
22+
"${4:content}"
23+
],
24+
"description": "POST Request"
25+
},
26+
"Put request block": {
27+
"prefix": "put",
28+
"body": [
29+
"PUT ${1:url} HTTP/1.1",
30+
"${2:header name}: ${3:header value}",
31+
"",
32+
"${4:content}"
33+
],
34+
"description": "PUT Request"
35+
},
36+
"GraphQL request block": {
37+
"prefix": "graphql",
38+
"body": [
39+
"POST ${1:url} HTTP/1.1",
40+
"X-Request-Type: GraphQL",
41+
"${2:header name}: ${3:header value}",
42+
"",
43+
"${4:body content}",
44+
"",
45+
"${5:variables content(optional)}"
46+
]
47+
},
48+
"SOAP request block": {
49+
"prefix": "soap",
50+
"body": [
51+
"POST ${1:url} HTTP/1.1",
52+
"Content-Type: application/soap+xml",
53+
"${2:header name}: ${3:header value}",
54+
"",
55+
"<soap:Envelope",
56+
"\txmlns:soap=\"http://www.w3.org/2001/12/soap-envelope\"",
57+
"\tsoap:encodingStyle=\"http://www.w3.org/2001/12/soap-encoding\">",
58+
"\t<soap:Body>",
59+
"\t\t${4:content}",
60+
"\t</soap:Body>",
61+
"</soap:Envelope>"
62+
],
63+
"description": "SOAP Request"
64+
},
65+
"File level custom variable": {
66+
"prefix": "fv",
67+
"body": [
68+
"@${1:Variable_Name} = ${2:Variable_Value}"
69+
],
70+
"description": "Define Custom File Variable"
71+
},
72+
"Request variable": {
73+
"prefix": "rv",
74+
"body": [
75+
"# @name ${1:Request_Name}"
76+
],
77+
"description": "Define Request Variable"
78+
}
7979
}

0 commit comments

Comments
 (0)