You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy/replace/add left <-> right in compare views #25887
in all views, i.e. the side-by-side and the unified view (there with other text than "left/right").
Now, I need to select the text and copy-paste it. In the unified view, I even can't select the text from the compared file ("left" file in side-by-side view).
Related: #24390 (but only wanted for staging VCS diffs)
Blocked by: #4180 ?
Reacted by Carl Byström, Chuck Kasabula, Brian Canzanella, Alexandru Dima, Luís Gomes, s3l3nabl00dy, acacloud, BlueSolar88, Radosław Włodkowski, Drew Bell and 1183 more
Reacted by Eric Werner
Reacted by Udo Bretz, ramaguduri, rexl2018, Phát Nguyễn Văn, Filip Mamić, Marcus Llewellyn, Antonio Landolfi, Abbas, Gal Margalit, Elad Cohen and 56 more
Reacted by Radosław Włodkowski, Michael Andrieiev, Ian Lovett, Milan Stojimirov, Victorry, Hiroshi Sakurai, Jule-, Vyacheslav Ivantsov, Roman Ostolosh, Will Ernst and 167 more
Reacted by RexXxuS, rexl2018, Phát Nguyễn Văn, Filip Mamić, Marcus Llewellyn, Mosh Feu, Abbas, Lidor Avitan, Yurii Holskyi, Flo and 60 more
Reacted by RexXxuS, ramaguduri, rexl2018, Phát Nguyễn Văn, Cédric Meuter, Marcus Llewellyn, Abbas, Lidor Avitan, Yurii Holskyi, Daniel Morgenstern and 61 more
I miss that feature as well. Good old NetBeans has a a similar intuitive approach:
Only the right side can be edited though, but there's a "swap" button right above the diff to mitigate that ;-)
Reacted by saltomodules, Roman Ostolosh, Yoel Ramos, Eduard Kracmar, Luke Frisken, Florian Rusch, Brice Rising, Brad Kemper, Jacek Szlachta, ufchta and 24 more
This is a really good feature which I am looking forward to.
In most coding time, I need to diff and merge only two files. I just want to diff and merge and there is no need for me to use git diff for only two files.
In present, I use the tool "diff & merge" from jet brains IDE. This is a really good sample plate to reference.
I strongly suggest this feature provided in the future version of VSCode.
Reacted by Craig Goldstone, Matt Wormley, schwarzichet, Wei Lu (陆威), luki86, Dimitris Efstathiadis, Daniele Cattaneo, Sean Devonport, tmab2003, Kevin Kolk and 85 more
Reacted by Yurii Holskyi, GuHuo丶, Nikolay Babanov, sirius16, Jarosław Cimoch and Kimi Gao
Reacted by Yurii Holskyi, sirius16, Simon Sobisch, Ivan Voznyakovsky, Jarosław Cimoch and Mark Penner
Reacted by RexXxuS, Abbas, Yurii Holskyi, sirius16 and Jarosław Cimoch
Reacted by Yurii Holskyi, sirius16, Francisco J. López and Jarosław Cimoch
Activity
gulshan commentedon Aug 11, 2017
Similar proposal by me following git merge inline actions- #30519
elgrafico commentedon Jan 8, 2018
I miss that feature as well. Good old NetBeans has a a similar intuitive approach:
Only the right side can be edited though, but there's a "swap" button right above the diff to mitigate that ;-)
otienoanyango commentedon Jun 5, 2018
rkotenko commentedon Jun 6, 2018
bradkemper commentedon Jul 3, 2018
I was very surprised that this did not already exist in VS Code. BBEdit isn't perfect, but it does have that.
seanchann commentedon Jul 16, 2018
+1
MaerF0x0 commentedon Jul 24, 2018
Super bonus points for allowing mapping to keys so i can create a vim-diff copy
(eg:
dotakes the other (usually left) side's changes)sigmarising commentedon Jul 25, 2018
This is a really good feature which I am looking forward to.
In most coding time, I need to diff and merge only two files. I just want to diff and merge and there is no need for me to use git diff for only two files.
In present, I use the tool "diff & merge" from jet brains IDE. This is a really good sample plate to reference.
I strongly suggest this feature provided in the future version of VSCode.
vbuyonje commentedon Jul 26, 2018
Many of us awaiting why not write it
gongiskhan commentedon Jul 27, 2018
+1
188 remaining items
hediet commentedon Jun 14, 2022
I'm just realizing now that #151826 only partially adresses this.
Please create a new feature request if the feature-set not covered in that PR is important for you.
AnrDaemon commentedon Jun 14, 2022
Please refer back to this issue so that interested parties could see and track it. (And avoid re-posting same request over and over again!)
APerricone commentedon Jul 8, 2022
I am touched, I saw arrows on compare! after only 5 years
heartacker commentedon Jul 8, 2022
you have right arrow after 5 years but left[失望]
RedWingBB commentedon Jul 8, 2022
Sweet!
How about taking this valuable change to the compare in VS 2022?
tdegeus commentedon Jul 20, 2022
As far as I understand I can only merge to the right, not to the left? Is this in the pipeline?
KamasamaK commentedon Jul 20, 2022
See #153620
tarekahf commentedon Jul 20, 2022
I'm very happy with this change. Now I can merge to the right and hopefully the left will come soon!
liftconfig commentedon Jul 20, 2022
Anyone know if there is a keyboard shortcut for the new update from left to right functionality?