Skip to content

Commit e53ddad

Browse files
committed
Add snippets
1 parent 64aa83c commit e53ddad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

snippets/scala.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
".source.scala": {
33
"main": {
4-
"prefix": "main",
4+
"prefix": "def main",
55
"body": "def main(args: Array[String]): Unit = {\n\t${1:expr}\n}",
66
"description": "Snippet for if expression"
77
},
@@ -21,7 +21,10 @@
2121
"class": { "prefix": "class", "body": "class ", "description": "class keyword" },
2222
"trait": { "prefix": "trait", "body": "trait ", "description": "trait keyword" },
2323
"object": { "prefix": "object", "body": "object ", "description": "object keyword" },
24+
"extends": { "prefix": "extends", "body": "extends ", "description": "extends keyword" },
2425
"override": { "prefix": "override", "body": "override ", "description": "override keyword" },
26+
"private": { "prefix": "private", "body": "private ", "description": "private keyword" },
27+
"protected": { "prefix": "protected", "body": "protected ", "description": "protected keyword" },
2528
"catch": { "prefix": "catch", "body": "catch ", "description": "catch keyword" },
2629
"finally": { "prefix": "finally", "body": "finally ", "description": "finally keyword" }
2730
}

0 commit comments

Comments
 (0)