Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Highlight duplicated lines in SublimeText 2
branch: master
Failed to load latest commit information.
Default.sublime-commands Initial commit.
highlight_duplicates.sublime-settings Initial commit. Initial commit. Initial commit.

Highlight Duplicates

Highlight duplicated lines. This is a Sublime Text 2 plugin.


Go to your Packages subdirectory under ST2's data directory:

  • Windows: %APPDATA%\Sublime Text 2
  • OS X: ~/Library/Application Support/Sublime Text 2/Packages
  • Linux: ~/.config/sublime-text-2
  • Portable Installation: Sublime Text 2/Data

Then clone this repository:

git clone git://

That's it!


Some options are available to customize the plugin look 'n feel. The config keys goes into config files accessible throught the "Preferences" menu.

Change the highlighting color

The highlighting color can be changed by providing a scope name such as "invalid", "comment"... in "File Settings - User":

{ "highlight_duplicates_color": "invalid" }

"invalid" is the default value. If you'd like to use a custom color, it should be defined as a color scope in your theme file.

Enable or disable the plugin

If needed, you can enable or disable the plugin with the following option:

{ "highlight_duplicates_enabled" : true }
// or
{ "highlight_duplicates_enabled" : false }

Run it

As soon as it's installed, it's working. Then, you can toggle the highlighting with Tools > Command Palette (command + shift + p on OSX) and start typing duplicates. Select the command in the list and hit enter.

Something went wrong with that request. Please try again.