continue icon indicating copy to clipboard operation
continue copied to clipboard

Indentation issues

Open PawelSzpyt opened this issue 1 year ago • 4 comments

Before submitting your bug report

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

  1. create new python file
  2. CMD+I (ask Continue to generate new code)
  3. enter simple prompt "generate fibonacci sequence"
  4. all "elif" statements and "else" statement are indented too far

Log output

No response

PawelSzpyt avatar Mar 27 '24 13:03 PawelSzpyt