monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Feature Request] Way to see only differences without unmodified changes in monaco code diff component

Open harshadsindhav opened this issue 2 years ago • 2 comments

Context

  • [X] This issue is not a bug report. (please use a different template for reporting a bug)
  • [X] This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

Monaco code difference editor is a great editor, but to make it even greater I think following feature could help. Sometime user may want to see only changes which are modified and skip the unmodified changes from the diff view when there is large content in file.

It will help us in meeting much needed product functionality if support is provided.

Please see the attached screenshot to understand more.

monaco code diff editor

harshadsindhav avatar Apr 07 '22 06:04 harshadsindhav

I think you mean a diff mode like in github code review ?

ricenoddle avatar Apr 07 '22 08:04 ricenoddle

I want this feature too.

kazuki-hanai avatar Sep 03 '22 14:09 kazuki-hanai

need too, just like gitlab code review

rawbin- avatar Jan 09 '23 13:01 rawbin-

Related: https://github.com/microsoft/monaco-editor/issues/2707

This is out of scope for just the monaco editor, but please create a detailed feature request for VS Code.

hediet avatar Mar 13 '23 09:03 hediet

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

hediet avatar Mar 13 '23 09:03 hediet