• Stars
    star
    1,062
  • Rank 43,462 (Top 0.9 %)
  • Language
    Kotlin
  • License
    BSD 2-Clause "Sim...
  • Created over 11 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Intelij IDEA plugin for displaying a code mini-map similar to the one found in Sublime

CodeGlance CircleCI

Plugin Repository: http://plugins.jetbrains.com/plugin/7275
Latest build: https://github.com/Vektah/CodeGlance/releases

InteliJ plugin that displays a zoomed out overview or minimap similar to the one found in Sublime into the editor pane. The minimap allows for quick scrolling letting you jump straight to sections of code.

  • Works with both light and dark themes using your customized colors for syntax highlighting.
  • Worker thread for rendering
  • Color rendering using InteliJ's tokenizer
  • Scrollable!
  • Embedded into editor window
  • Complete replacement for Code Outline that supports new Intellij builds.

Dracula

Building using Gradle

git clone https://github.com/Vektah/CodeGlance
cd CodeGlance
# run the tests
./gradlew test

# build the plugin and install it in the sandbox then start idea
./gradlew runIdea

# build a release
./gradlew buildPlugin

The result will be saved as build/distributions/CodeGlance-{version}.zip

Running from source in IntellJ

  1. Make sure you have the Plugin DevKit installed.
  2. Checkout sources from github
  3. Create a new Intellij Platform plugin project
  4. Select source directory, chose a plugin sdk (create one that points to your intellij install).
  5. Mark src/main/java as source root, and src/test/java as test root.
  6. In order to run tests you will need to find mockito and testing jars. I usually do this with Gradle.
  7. In module settings set the path to META-INF to src/main/resources
  8. Hit Run.

Show/Hide or Enable/Disable Minimap

  • Ctrl-Shift-G to toggle minimap.
  • Settings > Other Settings > CodeGlance