continue
continue copied to clipboard
Using /edit does not save changes to the class in Idea
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
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
- Using Continue with local LLM (Ollama)
- Select part of the code and press Ctrl+J.
- Use /edit and modify the code
- 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.