fix jetbrains bug
This commit is contained in:
parent
779bc84938
commit
35abf4be94
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ function useChatHandler(dispatch: Dispatch, ideMessenger: IIdeMessenger) {
|
|||
clearInterval(checkActiveInterval);
|
||||
}
|
||||
}, 100);
|
||||
|
||||
debugger
|
||||
for await (const update of ideMessenger.streamRequest(
|
||||
"command/run",
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue