Skip to content

Commit e68b809

Browse files
AndreyGAndrey Davydov
authored and
Andrey Davydov
committed
add language_info to kernel_info_reply
1 parent 2922692 commit e68b809

File tree

1 file changed

+2
-1
lines changed
  • src/main/kotlin/org/jetbrains/kotlin/jupyter

1 file changed

+2
-1
lines changed

src/main/kotlin/org/jetbrains/kotlin/jupyter/ikotlin.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ fun JupyterConnection.Socket.shellMessagesHandler(msg: Message, repl: ReplForJup
111111
content = jsonObject(
112112
"protocol_version" to protocolVersion,
113113
"language" to "Kotlin",
114-
"language_version" to KotlinVersion.VERSION
114+
"language_version" to KotlinVersion.VERSION,
115+
"language_info" to jsonObject("name" to "kotlin", "file_extension" to "kt")
115116
)))
116117
"history_request" ->
117118
send(makeReplyMessage(msg, "history_reply",

0 commit comments

Comments
 (0)