fix jetbrains bug

This commit is contained in:
Dallin Romney 2024-11-07 16:20:12 -08:00
parent 779bc84938
commit 35abf4be94
2 changed files with 3 additions and 3 deletions

View file

@ -1012,8 +1012,8 @@ class IdeProtocolClient(
val virtualFile = editor?.document?.let { FileDocumentManager.getInstance().getFile(it) }
return virtualFile?.let {
mapOf(
"filePath" to it.path,
"fileContents" to editor.document.text,
"path" to it.path,
"contents" to editor.document.text,
"isUntitled" to false
)
}

View file

@ -153,7 +153,7 @@ function useChatHandler(dispatch: Dispatch, ideMessenger: IIdeMessenger) {
clearInterval(checkActiveInterval);
}
}, 100);
debugger
for await (const update of ideMessenger.streamRequest(
"command/run",
{