Extend Diff type #176
Replies: 2 comments 3 replies
-
|
This is great. So to sketch out what all of the scenarios would be, we'd have: (not sure what the text vs binary types look like) File added: File deleted: File move: File edit: File edit + move: |
Beta Was this translation helpful? Give feedback.
-
|
On another note: I've received some feedback from that generating the diff can be difficult. I think it is also fine to say we leave it up to the client so they can choose. there are plenty of diff libraries for various languages and it provides them with control of how to render it. But I'm just curious if you have any thoughts from the JetBrains side of things on if there is an improvement here from the client side for actually representing the diff. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Current Diff data type doesn't support following scenarios:
Suggestion:
for removed file
newContentis nullfor moved file
oldPathis presentfurther types of file content can be supported in the future — like resource links and so on
Beta Was this translation helpful? Give feedback.
All reactions