I turned on the preference setting "xcode "highlight instances of selected symbol" not working" so symbols would highlight with the underline. I have the project NewtonsCradle open and the file NewtonCradle.swift open. When I select a symbol inside of a function it doesn't highlight the other occurences. I have seen it work with other files but I can't reproduce it. I changed the file and saved it to make sure it was wrightable thinking that was the problem. Also the Refactor items are all greyed out.
Xcode preference "highlight instances of selected symbol" not working
I have the same question