Skip to content

Commit 415bca3

Browse files
committed
refactor(sketch): remove commented-out code
Clean up unused and commented-out code related to `InsCommandListener` in `SketchInputListener.kt`.
1 parent 377ecd4 commit 415bca3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

core/src/main/kotlin/cc/unitmesh/devti/sketch/SketchInputListener.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,6 @@ class SketchInputListener(
5252
return
5353
}
5454

55-
// val relatedFiles: MutableList<VirtualFile> = mutableListOf()
56-
// connection.subscribe(InsCommandListener.TOPIC, object : InsCommandListener {
57-
// override fun onFinish(command: InsCommand, status: InsCommandStatus, file: VirtualFile?) {
58-
// when(command.commandName) {
59-
// BuiltinCommand.FILE -> {
60-
// if (status == InsCommandStatus.SUCCESS) {
61-
// file?.let { relatedFiles.add(it) }
62-
// }
63-
// }
64-
// else -> {}
65-
// }
66-
// }
67-
// })
68-
6955
val postProcessors = LanguagePromptProcessor.instance("DevIn").firstOrNull()
7056
val compiledInput = postProcessors?.compile(project, userInput) ?: userInput
7157

0 commit comments

Comments
 (0)