Skip to content

Commit

Permalink
Add test to corpus. Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nishtahir committed Oct 26, 2018
1 parent 81cb5fb commit 6ba7658
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Kotlin",
"displayName": "Kotlin Language",
"description": "Kotlin language support for VS Code",
"version": "1.6.0",
"version": "1.7.0",
"publisher": "mathiasfrohlich",
"license": "Apache-2.0",
"scripts": {
Expand All @@ -13,7 +13,7 @@
},
"icon": "artwork/icon.png",
"categories": [
"Languages"
"Programming Languages"
],
"bugs": {
"url": "https://github.com/mathiasfrohlich/vscode-kotlin/issues"
Expand Down Expand Up @@ -75,16 +75,17 @@
"meta.embedded.block.kotlin": "kotlin"
}
}
],"snippets": [
{
"language": "kotlin",
"path": "./snippets/kotlin.json"
},
{
"language": "kotlinscript",
"path": "./snippets/kotlin.json"
}
]
],
"snippets": [
{
"language": "kotlin",
"path": "./snippets/kotlin.json"
},
{
"language": "kotlinscript",
"path": "./snippets/kotlin.json"
}
]
},
"devDependencies": {
"vsce": "^1.36.2",
Expand Down
15 changes: 15 additions & 0 deletions samples/corpus.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,18 @@ val f = @Suspendable { Fiber.sleep(10) }
// #endregion


private data class Foo(
/**
* ```
* ($)
* ```
*/
val variables: Map<String, String>
)

data class Response(@SerializedName("param1") val param1: String,
@SerializedName("param2") val param2: String,
@SerializedName("param3") val param3: String) {
}


0 comments on commit 6ba7658

Please sign in to comment.