Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit b60d405

Browse files
authored
Merge pull request #64 from ihalila/snippets
Modified snippets to use placeholders
2 parents f95be28 + 8c701b7 commit b60d405

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scala/snippets/scala.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
"prefix": "resolvers",
1111
"body": [
1212
"resolvers += ",
13-
" \"${name: Repository name}\" at \"${url: Url where the repository is defined}\""
13+
"\"${1:Repository name}\" at \"${2:Url where the repository is defined}\""
1414
]
1515
},
1616

1717
"New ScalaTest suite": {
1818
"prefix": "suite",
1919
"body": [
20-
"class ${MyTestSuite} extends FunSuite {",
21-
" test(\"${test name}\") {",
20+
"class ${1:MyTestSuite} extends FunSuite {",
21+
" test(\"${2:Test name}\") {",
2222
" }",
2323
"}"
2424
]
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)