continue
continue copied to clipboard
Indentation issues
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: macOS 14.4.1
- Continue: 0.8.23
- IDE: VSCode 1.87.2
- Ollama v0.1.29
Description
I have a problem with indentations, somehow continue breaks indentation when I try to edit / generate code. The model provides correct code but it is not applied correctly. I hope the attached movie explains the issue better than words :)
https://github.com/continuedev/continue/assets/95582824/69883496-4a08-458f-a91b-d568052f8794
I tried adjusting VS code settings regarding indentations, tabulations, paste formatting - nothing helped.
[edit] Changed .mov to .mp4 movie format
To reproduce
- create new python file
- CMD+I (ask Continue to generate new code)
- enter simple prompt "generate fibonacci sequence"
- all "elif" statements and "else" statement are indented too far
Log output
No response