Replies: 1 comment 2 replies
-
I just tried this and got mostly correct response (in 2 separate diffs). But sometimes the models get line off by 1 or get confused and im not doing any diff corrections in the plugin either. Also when applying diffs make sure to apply them from end to start instead of the other way around to prevent line numbers changing for the later diffs. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, thanks for this plugin, it's great! I have an issue when making full file edits though. It seems that when accepting a diff I often get syntax issues like the intended edit should've deleted more code. For example when using this prompt for this file
It gets the edits correct, by refactoring the deeply nested functions, however when applying the edits with
C-y
it seems to start the edits from this line which is the first line you would refactor, but it causes a syntax error because it should have deleted the lines above also.I'm wondering if this is an issue with model, the plugin or something else?
For reference I'm using the default config provided in LazyVim and I've tested both ChatGPT-4o and Claude-3.7
Beta Was this translation helpful? Give feedback.
All reactions