Categories


Authors:
scastria
logos

Identifier Highlighter

Products: IntelliJ IDEA

Vendor: Shawn Castrianni

Email:

Website: http://www.jetbrains.net...T/Identifier+Highlighter

Source code: Identifier_Highlighter_1236.zip

Highlights identifiers under caret. If more than one instance with the same identifier is used in the file, only the usages of that specific instance are highlighted. For parameters, local variables, and fields, a differentiation between reads and writes to that identifier are made with separate configurable colors. Use Shift+Alt+Up and Shift+Alt+Down to navigate up and down to each highlighted occurrence. Use Shift+Alt+Right to return to original highlighted occurrence starting point. Use Shift+Alt+Left to go to the declaration highlighted occurrence only if exists in the same file. Use Shift+Alt+R to rename the highlighted occurrences in the file. Use Shift+Alt+L and Shift+Alt+U to lock and unlock the highlighting to allow movement through the file without changing the highlighted occurences. Use Shift+Alt+T to toggle the plugin on or off.
Downloads: 36603
Rating:
Participated in rating: 31
Version Compatible builds Date
3.62 09.11.2009 Download
3 updates are hidden show all updates

Recent change notes

  • 3.62
    1. Recompile for 9.0 beta release compatibility
  • 3.61
    1. Recompile for latest Maia release compatibility
  • 3.60
    1. Check for identifier to left of cursor (Idea contribution from Oliver Pfeiffer)
  • 3.50
    1. Improved highlighting during editing (Implementation contribution from Pierre Ingmansson)
  • 3.47
    1. Protected against another NPE.
  • 3.46
    1. Compiled for older JDK support.
  • 3.45
    1. Fix persistence of settings bug.
  • 3.44
    1. New IntelliJ 8 compatible version.
  • 3.43
    1. Disable for IntelliJ 8 and above.
  • 3.42
    1. Catch some more erroneous exceptions.
  • 3.41
    1. Catch some more erroneous exceptions.
  • 3.40
    1. Added online help.
  • 3.26
    1. Try to protect against exceptions in the resolve method.
  • 3.25
    1. Added global ability to toggle the plugin on or off with Shift+Alt+T.
    2. This toggle is also available in the settings dialog.
    3. Added the differentiation between reads and writes of parameters, local variables, and fields with separate colors. These colors are configurable in the settings dialog.
  • 3.10
    1. Added marker bar/right gutter highlighting and tooltips.
    2. Also added the ability to configure this new option in the configuration panel.
  • 3.02
    1. Grouped the editor popup menu actions into a cascade menu item.
  • 3.01
    1. Fixed a bug in the new locking feature. The locking/unlocking worked, but the intent was to be able to edit the file while it was locked. This part did not work. Now it does and it works quite well now.
    2. I also simplified some code so hopefully I didn't introduce some new bugs.
  • 3.00
    1. Added new feature called locking. You can now lock the current set of identifier highlighting so that you can move the cursor throughout the file without losing the highlighting. This will allow you to edit a different part of the file while keeping the highlighting intact. You can then continue to navigate to each identifier occurrence as before.
    2. Use Shift+Alt+L and Shift+Alt+U to lock and unlock respectively.
  • 2.82
    1. Sorted usages by text offset to be compatible with Selena release.
  • 2.81
    1. More Null pointer checking to help with 7.x.
  • 2.80
    1. Try to make compatible with Idea 7.x by using invokeLater.
  • 2.77
    1. Try to fix an exception with -1 array index.
  • 2.76
    1. Try to fix an exception with bad document length.
  • 2.75
    1. Fixed a small bug to make it work properly with JSP files.
  • 2.72
    1. Initialize the rename identifier dialog with the current identifier value to make small edits quicker.
  • 2.71
    1. WARNING, the default hotkeys have been changed!!!!!
    2. Due to a few complaints that I chose hotkeys that were already used, I changed to Shift+Alt+ where is Up, Down, Left, Right, or R.
    3. You can change these to whatever you like in your keymapping.
  • 2.70
    1. Added Alt+R to allow renaming the highlighted identifier occurrences.
  • 2.61
    1. Found an exception that OpenAPI catches internally so I can't catch it myself. Had to check for it before it happens.
  • 2.60
    1. Fixed browsing files from outside the current project like JDK's src.zip.
  • 2.57
    1. Improved handling of declaration outside current file.
    2. Fixed some ArrayIndexOutOfBounds exceptions when browsing JDK src.zip files.
  • 2.55
    1. Added quick way to set all colors for all identifier types.
  • 2.50
    1. Improved UI for setting colors with a ColorButton component.
    2. Also, added tons more customizations so that you can independently enable/disable and change colors for different types of identifiers like Classes, Methods, Fields, Parameters, Local Variables, and Other.
  • 2.02
    1. Fixed bug when variable started with same letters as its type.
  • 2.01
    1. Fixed a few stupid bugs.
  • 2.00
    1. I finally got the functionality I wanted.
    2. Now only the usages of the specific instance of the identifier are highlighted.
    3. So if you have the same name used for more than one local variable througout the file, for example, only the usages of that specific local variable are highlighted.
    4. This allowed me to add Alt+Left to go to the highlighted occurrence where the variable is declared.
    5. However, if the declared occurrence is in another file, it will NOT go there.
  • 1.51
    1. Fix another NPE.
  • 1.50
    1. Add configuration dialog to control highlight colors and highlighting layer in editor.
    2. Dialog obtained from main settings panel.
  • 1.03
    1. Fix another NPE. Add DocumentListener to handles changes to document better.
  • 1.02
    1. Fix another NPE.
  • 1.01
    1. Fix a NPE.
  • 1.00
    1. Initial version.

General usage instructions

Highlights identifiers under caret. If more than one instance with the same identifier is used in the file, only the usages of that specific instance are highlighted. Use Shift+Alt+Up and Shift+Alt+Down to navigate up and down to each highlighted occurrence. Use Shift+Alt+Right to return to original highlighted occurrence starting point. Use Shift+Alt+Left to go to the declaration highlighted occurrence only if exists in the same file. Use Shift+Alt+R to rename the highlighted occurrences in the file. Use Shift+Alt+L and Shift+Alt+U to lock and unlock the highlighting to allow movement through the file without changing the highlighted occurences. Shift+Alt+T to toggle the plugin on or off.