VS Code - Salesforce - Code Diff - Allow Direction Change #5473
Replies: 4 comments
-
Is there anything I can do so that we implement this change? I think it is counter-intuitive for the local (source) file to be on the right whereas the server (target) file would be on the left. Most compare applications would have the source file on the left and the target file on the right. |
Beta Was this translation helpful? Give feedback.
-
Hi @aaron-rodriguez-j2 - Thanks for the feedback. We researched other Diff viewers and most have the local/working copy on the right with the original on the left. Whenever possible, we seek to make the experience for Salesforce developer similar to other industry experiences to reduce the number of things you need to learn. We'll consider adding an option to change the view in the future. We would also be open to a PR on this that adds a setting to give users an option to reverse the view. |
Beta Was this translation helpful? Give feedback.
-
thanks smaddox-sf |
Beta Was this translation helpful? Give feedback.
-
I agree, I have the same reaction, searching to invert the columns. The "ref" source should be on the right (or we should be able to switch). |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
The Diff plugin is functioning properly. However, by default, it shows the local file on the right, and the server file on the left. This doesn't make sense because deployment would occur from the local file to the server file, which should be left to right.
Describe the solution you'd like
Make the local file appear on the left, and the server file appear on the right.
Describe alternatives you've considered
Allow configuration of a setting that determines whether the local file is on the left or right.
Additional context
Beta Was this translation helpful? Give feedback.
All reactions