Comparison tool in R2021b can no longer filter to 'show differences only'

6 ビュー (過去 30 日間)
Daniel Schinkel
Daniel Schinkel 2021 年 11 月 16 日
コメント済み: Jarek Kmieciak 2024 年 2 月 14 日
In previous releases of Matlab, I found the build-in diff tool (visdiff) quite usefull to compare versions of source-controlled source code, which by default only showed lines that are different between the versions (configurable via View --> Filter --> Show differences only).
However, in the R2021b release, this filter setting is no longer avaiable and instead it now always shows all the lines, which complicates a quick assesment of differences.
  1 件のコメント
ETHAN JULIUS
ETHAN JULIUS 2022 年 10 月 24 日
Curious if there is an answer to this quesiton yet?

サインインしてコメントする。

回答 (1 件)

Salman Ahmed
Salman Ahmed 2021 年 11 月 18 日
Hi Daniel,
I understand you wish to visualize the differences only while doing a comparison using visdiff. I have brought this issue to the notice of our developers. They will investigate the matter further.
  3 件のコメント
Daniel Schinkel
Daniel Schinkel 2023 年 11 月 1 日
編集済み: Daniel Schinkel 2023 年 11 月 1 日
In R2023b, it is not present as far as I can see.
I am still hoping that the 'show differences only' option will return in the next version of visdiff.
Jarek Kmieciak
Jarek Kmieciak 2024 年 2 月 14 日
I also find this change very inconvenient. The way it used to work in v.2020b I used to use before was way more useful. It just displayed the lines with differences with a couple of sorrounding lines for the context.
I hope it'll get fixed shortly. Is there a way to change the behavior as preferred in the 2023b or it'll require new release?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by