Skip to content

Commit 1946fe0

Browse files
committed
comment
1 parent a931c5b commit 1946fe0

File tree

1 file changed

+1
-0
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller

1 file changed

+1
-0
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/controller/CodeTestChatController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ class CodeTestChatController(
458458
when (message.actionID) {
459459
"utg_view_diff" -> {
460460
withContext(EDT) {
461+
// virtual file only needed for syntax highlighting when viewing diff
461462
val tempPath = Files.createTempFile(null, ".${session.testFileName.substringAfterLast('.')}")
462463
val virtualFile = tempPath.toFile().toVirtualFile()
463464

0 commit comments

Comments
 (0)