-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More reuse via abstract modified file entry #242311
Conversation
@@ -391,6 +392,15 @@ export class ChatEditingModifiedNotebookEntry extends AbstractChatEditingModifie | |||
this.cellEntryMap.forEach(entry => !entry.disposed && entry.clearCurrentEditLineDecoration()); | |||
} | |||
|
|||
protected override _createUndoRedoElement(response: IChatResponseModel): IUndoRedoElement { | |||
throw new Error('NOT IMPLEMENTED'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DonJayamanne please implement these two methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added support for _areOriginalAndModifiedIdentical
And made the method _createUndoRedoElement
support returning undefined
for now, that way we can add support for this later @amunger will be working on that.
re https://github.com/microsoft/vscode-copilot/issues/13692 and https://github.com/microsoft/vscode-copilot/issues/13693