-
-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
If we have a situation like this.
User ---
Can you give me python functin to sum two numbers. Also how to use it. Make it two different code blocks
Copilot ---
Sure, here is a Python function that sums two numbers:
def sum_two_numbers(a, b):
return a + bTo use this function, you can call it with two numbers as arguments. Here is an example:
result = sum_two_numbers(3, 5)
print(result) # Outputs: 8Looking at diff gives us:
-/009  .config/
\ No newline at end of file
+result = sum_two_numbers(3, 5)
+print(result) # Outputs: 8
\ No newline at end of file
It does not do a diff on the first part.
Could we have the yank, diff, accept actions allow something like:
1<leader>y to yank the first code snippet? Same architecture for diff and accept?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request