Xcode 13 keeps showing line numbers even though I have the preference off

I have "Show line numbers" turned off. But today Xcode 13 started randomly showing line numbers in the left sidebar even though I don't want it to.

If I turn the preference to show line numbers on and then back off again, they go away. For a while.

They ... keep ... coming ... back. I've tried quitting and relaunching Xcode but it doesn't seem to have helped. Any ideas? Seems like a bug.

I may have to start learning to live with them.

It seems like it might have started when I used the feature to compare a file with historical versions of it in git. I think it shows line numbers when you're in that view? But I'm not looking at that anymore and they are still randomly reappearing in my code files.

(The new GUI for viewing that is much more confusing to find than the old one, too.)

Sorry this is a minor thing but it is making me crazy.

Oh it's worse than that. Somehow I have an "Inline Comparison" view I am stuck in. Not only is it showing me line numbers, but it is showing me a comparison with what's in git (I guess). Ok I'll just have to figure out how to get out of this view. I miss the double-arrows button in the old version of Xcode to obviously toggle this sort of view on and off. Now I'm in this mode and can't find my way out.

FWIW I got out of it by selecting "Canvas" from the Editor menu. I figured it out by switching between my tabs and looking at what was checked in "Editor."

None of the Editor modes had checkboxes by them, somehow, in the one tab that had the issue. Canvas was selected in the tabs that were working normally. Even after I switched to "Canvas" I still had to toggle line numbers (again) to get those to go away. But at least it isn't showing me my changes inline as i make them. That was borderline unusable.

I'm not a new Xcode user, I've been using it for well over a decade. I've never been this confused - I still don't know what mode I was in or how I exactly got into it.

Disabling code review will solve this issue

Xcode 13 keeps showing line numbers even though I have the preference off
 
 
Q