continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
18.22k stars 1.45k forks source link

Automatically call "to tabs" after accepting diff depending on detected indentation of file #2550

Open oxysoft opened 5 hours ago

oxysoft commented 5 hours ago

Validations

Problem

Indentation type does not match user selection, which is a problem in python.

Solution

Process the AI generated code to replace indentation with the detected indentation of the file (provided by the IDE)

Patrick-Erichsen commented 3 hours ago

This is on our radar, thanks for the +1 here!