Skip to content

Conversation

@deathbeam
Copy link
Collaborator

Extract diff handling into separate class to reduce code duplication and improve maintainability. Add custom highlighting namespace in diff class and remove redundant code from overlay class. Add utility function for finding lines between patterns. Improve diff accepting/showing logic with proper line number handling.

Move highlighting setup into dedicated diff class and make overlay class more focused. Add example for code snippet markdown links in prompts to improve clarity.

@deathbeam deathbeam added the enhancement New feature or request label Nov 18, 2024
@deathbeam deathbeam force-pushed the diff-improvements branch 4 times, most recently from 09e0d5d to 3b6bcf9 Compare November 18, 2024 23:29
Extract diff handling into separate class to reduce code duplication and improve
maintainability. Add custom highlighting namespace in diff class and remove
redundant code from overlay class. Add utility function for finding lines
between patterns. Improve diff accepting/showing logic with proper line number
handling.

Move highlighting setup into dedicated diff class and make overlay class more
focused. Add example for code snippet markdown links in prompts to improve
clarity.

Signed-off-by: Tomas Slusny <[email protected]>
@deathbeam deathbeam merged commit d36b868 into CopilotC-Nvim:canary Nov 18, 2024
1 check passed
@deathbeam deathbeam deleted the diff-improvements branch November 18, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant