Automatic highlighting with split screen
Show older comments
What happened to automatic variable highlighting? Just updated from 2020b and things used to look like this:

where I could just select the variable on the left side and then scroll way up to where the variable was declared/assigned on the right very easily w/o having to hunt or Ctrl+F it. Now, w/ 2022a, things look like this:

...no more highlighting on the right. When was that removed? Am I missing an extra option in the preferences somewhere?
I do love the alt+mouse vertical selection of 2022a (though I don't know why alt+shift+arrow box highlight navigation isn't present), but the variable highlighting on a split screen for very large scripts is a bit of a must have for me, so I might have to downgrade to the last version that still has it.
4 Comments
Matthew Lang
on 22 Jul 2022
Matthew Lang
on 7 Oct 2023
Edited: Matthew Lang
on 7 Oct 2023
Matthew Lang
on 21 Feb 2024
Matthew Lang
on 7 Feb 2025
Answers (2)
Matthew Lang
on 31 Aug 2022
1 vote
2 Comments
Benjamin Tessler
on 25 Jul 2023
I'd also appreciate this being an option
Voss
on 21 Feb 2024
I agree it's very useful to have the highlighting synchronized on both sides of a split, rather than independent highlighting on each side.
Krishna
on 2 Jul 2022
0 votes
Hi Matthew,
I tried to reproduce it at my end and the automatic variable highlighting was working fine for the version 2022a.
Check out the below blog to know more about Automatic Variable Highlighting.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!