continue icon indicating copy to clipboard operation
continue copied to clipboard

Using /edit does not save changes to the class in Idea

Open michal-matuska opened this issue 1 year ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11 Pro 23H2
- Continue: 0.0.38
- IDE: IntelliJ IDEA 2023.3.6 (Ultimate Edition)
- Model: local phind-codellama-34b

Description

Using /edit does not save the changes to the file. It will show a separate window with old and new version with 2 buttons to accept or deny the changes, but clicking on accept doesn't do anything. Then, it will never show the comparation window again on other /edit prompts. You have to quit Idea and start it again.

To reproduce

  1. Using Continue with local LLM (Ollama)
  2. Select part of the code and press Ctrl+J.
  3. Use /edit and modify the code
  4. After comparation screen is displayed hit Accept button

Expected result: Code in the editted class is changed according to the suggestion by the LLM Actual result: Nothing happened

Log output

There is no Troubleshooting guide for the Idea, so here is output of the core.log:

[info] Starting Continue core...
[info] Starting Continue core... 
Build error. Please check your ~/.continue/config.ts file: Error: Command failed: C:\Users\Michal\ Matuska\AppData\Roaming\JetBrains\IntelliJIdea2023.3\plugins\continue-intellij-extension\core\win32-x64/esbuild.exe C:\Users\Michal\ Matuska\.continue\config.ts --bundle --outfile=C:\Users\Michal\ Matuska\.continue\out\config.js --platform=node --format=cjs --sourcemap --external:fetch --external:fs --external:path --external:os --external:child_process
'C:\Users\Michal\' is not recognized as an internal or external command,
operable program or batch file.
 
(node:38224) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `pkg --trace-warnings ...` to show where the warning was created) 
Build error. Please check your ~/.continue/config.ts file: Error: Command failed: C:\Users\Michal\ Matuska\AppData\Roaming\JetBrains\IntelliJIdea2023.3\plugins\continue-intellij-extension\core\win32-x64/esbuild.exe C:\Users\Michal\ Matuska\.continue\config.ts --bundle --outfile=C:\Users\Michal\ Matuska\.continue\out\config.js --platform=node --format=cjs --sourcemap --external:fetch --external:fs --external:path --external:os --external:child_process
'C:\Users\Michal\' is not recognized as an internal or external command,
operable program or batch file.

michal-matuska avatar Mar 22 '24 11:03 michal-matuska