smallcloudai / refact-vscode

Refact AI: Open-source AI Code assistant with autocompletion, chat, refactoring and more for VS Code
https://refact.ai
BSD 3-Clause "New" or "Revised" License
59 stars 19 forks source link

WIP: fix: add new lines to start and end of code block #108

Closed MarcMcIntosh closed 2 months ago

MarcMcIntosh commented 2 months ago

Adding a new line at the start has fixed the first three characters being removed from the diff.

Still todo: handling indentation and partially selected lines