stefanceriu / SCXcodeMiniMap

Sublime Text like Minimap for Xcode
GNU General Public License v3.0
1.03k stars 91 forks source link

Highlight symbol occurrences à la ProgressiveScroll #56

Closed stefanceriu closed 9 years ago

stefanceriu commented 9 years ago

Find a way to hook into Xcode's built in ‘Highlight instances of selected symbol’ feature and also show those occurrences on the Minimap.

Should end up with something like this:

stefanceriu commented 9 years ago

Now implemented for v2.2 https://github.com/stefanceriu/SCXcodeMiniMap/releases/tag/v2.2

despoke commented 9 years ago

Hi, I downloaded and installed v2.2 from source code. However when I hightlight a selected symbol (CTRL+E, CTRL+F), it will not show up in the minimap, or am I doing something wrong? I attached a screenshot, where I highlighted the symbol "cgn" which is visible in the main window, but not in the minimap.

The "View->Minimap->Highlight selected symbol" option is ticked.

screen shot 2015-05-27 at 00 51 17

stefanceriu commented 9 years ago

Hey,

It's not linked to the search box, it's linked to Xcode's "Highlight instances of selected symbol" feature here:

Oh, and it won't work on Xcode 6.2, you'll need 6.3.x..

despoke commented 9 years ago

I see! I have the "Hightlight instances of selected symbol" already enabled and set up to 0 seconds, but it never highlighted anything for me... But i'm also on XCode 6.1 ... I'll update to latest XCode version tomorrow and get back to you. Thx!

stefanceriu commented 9 years ago

Cool, let me know how it goes ;)

despoke commented 9 years ago

I updated to XCode 6.3.2. Unfortunately the "Highlight instances of selected symbols" is still not working for me. I would probably need to uninstall and cleanly re-install XCode to try fixing this...