Giter Club home page Giter Club logo

autohighlightsymbol's Introduction

Auto Highlight Symbol

Xcode can highlight instances of selected symbol, but what it does is to add dash lines under the instances, which is hard to be noticed.

AutoHighlightSymbol is a plugin for Xcode, it adds background highlight color to those instances. It's super useful while you're tracing codes, especially when you want to figure out where a specific variable is used in a certain method.

This plugin is still in early beta, you're welcome to improve it and send me pull requests.

Screenshots

Installation

  • Use Alcatraz to install and manage plugins, or

  • Download the sources, build the project and restart Xcode.

  • If you encounter any issues you can uninstall it by removing the ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/AutoHighlightSymbol.xcplugin folder.

Usage

  • You need to enable Highlight instances of selected symbol option first from Xcode preferences -> Text Editing.

  • If it doesn't appear in your Xcode menu, read this wiki document for more information.

  • After installation, you need to enable it from Xcode [Editor] -> [Auto Highlight Symbol] menu.

Todo

  • Integrate into Alcatraz
  • Better highlight detection mechanism (Try to swizzle DVTLayoutManager's _displayAutoHighlightTokens method)
  • Better highlight rendering mechanism

License

AutoHighlightSymbol is available under the MIT license. See the LICENSE file for more info.

Contact

Any suggestions or improvements are more than welcome. Feel free to contact me at [email protected] or @NelsonT.

Thanks

AutoHighlightSymbol cannot be done without these great plugins.

And these great articles.

autohighlightsymbol's People

Contributors

chiahsien avatar nivl4 avatar

Watchers

James Cloos avatar Ben Yohay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.