Skip to content

huoguangjin/MultiHighlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f26b826 Β· Mar 3, 2025
Jun 27, 2024
Feb 12, 2022
Jun 27, 2024
May 4, 2023
Mar 2, 2025
Feb 12, 2022
Mar 3, 2025
Feb 11, 2022
Jun 19, 2024
Jun 27, 2024
Mar 2, 2025
Jun 27, 2024
May 20, 2023
Feb 26, 2017
Jun 27, 2024
Feb 11, 2022

Repository files navigation

MultiHighlight

Build Version Downloads

Highlight identifiers with custom colors, helpful for reading source code.

Default shortcut: Ctrl + ' and Ctrl + Shift + ' (or ⌘ + ' and ⌘ + ⇧ + ' on mac).

preview

Install

To install MultiHighlight, you have two options:

  1. Install directly in the IDE:
  • Go to File | Settings | Plugins | Marketplace.
  • Search "MultiHighlight" then click install.
  1. Install from file:
  • Download MultiHighlight.zip in Releases.
  • Go to File | Settings | Plugins, click on the gear icon on the top-right corner of the window, select "Install Plugin from Disk", navigate to the location of your downloaded zip file then select it and click ok.

Features

Highlight identifiers

  • Highlight variables, methods or classes with custom colors.
  • Show highlighted strip marks on the scrolling bar for easy navigation.
  • Show the number of highlights on the status bar for quick reference.

feature-highlight

Highlight control flow

Highlight control flow keywords such as return or throws to make them stand out.

feature-highlight feature-highlight

Highlight plain text

Select and highlight plain text in log files, documents or code comments.

feature-highlight

Highlight with specified color

Choose specified color to highlight, default shortcut: Ctrl + Shift + ' (or ⌘ + ⇧ + ' on mac).

Tips: press the shortcut twice will highlight with the default color.

feature-highlight

Clear all Highlights

The action to clear all highlights in current editor is not assigned to a keyboard shortcut by default. If you need it, add keyboard shortcut in settings: File | Settings | Keymap | search "MultiHighlight".

keymap

Customize color palette

Customize your highlight text style (bold/italic, foreground, background, stripe and effect style) in setting page.

Tips: Here is material design color palette, they are bright and vibrant colors. (what is material design?)

setting

Build & Run

  • JDK 17 is required, set JAVA_HOME environment variable, or set Build, Execution, Deployment | Build Tools | Gradle | Gradle JVM in IDEA settings.

    • Java 21 is required when targeting 2024.2 and later only.
    • Java 17 is required (blog post) when targeting 2022.2 and later only.
    • Java 11 is required (blog post) when targeting 2020.3 and later only.

    Build Number Ranges | IntelliJ Platform Plugin SDK

  • To build MultiHighlight, clone and run ./gradlew buildPlugin.

  • To run IntelliJ IDEA with MultiHighlight installed, run ./gradlew runIde.

Change Log

check CHANGELOG.md for details.