Skip to content

Sublime text plugin to remove multiple occurrences of a key in java property files.

License

Notifications You must be signed in to change notification settings

vallovic/jprop-cleaner

 
 

Repository files navigation

jprop-cleaner

A Sublime text plugin to remove multiple occurrences of a key in java property files.

Sometimes we end up having duplicate entries of the same key due to merge issues in source control (I'm looking at you svn!) or other reasons. This is something I whipped up to remove such duplicate entries and preserve the last key value pair because that's the one resource bundle class ends up selecting from the file.

If you want to know the duplicate entries in the file open up the SublimeText2 console using ctrl+` to see the list of keys.

Shortcut keys:

  • On windows & linux ctrl+shift+j, ctrl+shift+c
  • On mac cmd+j, cmd+c

Definitely open to suggestions and ideas to improve this :)

Installation:

In case you haven't setup sublime package control before here's the official page - https://sublime.wbond.net/installation

This plugin is now available officially through the sublime package control. Search for 'Java property cleaner' and install it.

About

Sublime text plugin to remove multiple occurrences of a key in java property files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.1%
  • JavaScript 12.9%