Skip to content

Commit e8a643f

Browse files
authored
Add Console.ReadLine snippet for csharp (#534)
* Update csharp.json * Remove "System" before WriteLine and ReadLine snippets in csharp * Update html.json
1 parent fbfc725 commit e8a643f

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

snippets/csharp/csharp.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,17 @@
5252
"Console.WriteLine": {
5353
"prefix": "cw",
5454
"body": [
55-
"System.Console.WriteLine($0);"
55+
"Console.WriteLine($0);"
5656
],
5757
"description": "Console.WriteLine"
5858
},
59+
"Console.ReadLine": {
60+
"prefix": "cr",
61+
"body": [
62+
"Console.ReadLine($0);"
63+
],
64+
"description": "Console.ReadLine"
65+
},
5966
"do...while loop": {
6067
"prefix": "do",
6168
"body": [

snippets/html.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
{
2+
"!": {
3+
"prefix": "!",
4+
"body": [
5+
"<!DOCTYPE html>",
6+
"<html lang=\"$1en\">",
7+
"<head>",
8+
"\t<meta charset=\"UTF-8\">",
9+
"\t<meta name=\"viewport\" content=\"width=${2:device-width}, initial-scale=${3:1.0}\">",
10+
"\t<title>${5:Document}</title>",
11+
"</head>",
12+
"<body>",
13+
"\t${6}",
14+
"</body>",
15+
"</html>"
16+
],
17+
"description": "HTML - Defines a template for a html5 document",
18+
"scope": "text.html"
19+
},
220
"doctype": {
321
"prefix": "doctype",
422
"body": ["<!DOCTYPE>", "$1"],

0 commit comments

Comments
 (0)