Welcome to Honey
Honey is set of Text related commands for Eclipse. Most of the commands are not specific to any language (like Java for example) and hence can be used in any Text editor in Eclipse. Commands are intended to be used using quick access and hence they are not exposed as menu items.
Following sections highlights the groups of commands and commands themselves.
Bookmarks
Intent of the bookmarks is to easily set a mark at file/line so that you can easily go back to it. But Eclipse makes it tad difficult to set a bookmark. When you want to set bookmark, you have to click on sidebar and give a name to it.
Honey makes it easier to manage the bookmarks with following commands.
- Open Bookmark - Opens Quick-Outline type popup dialog with all bookmarks defined in the workspace
- Set Bookmark - Sets the bookmark at the current editor line. No, it won't ask for any name.
- Clear Bookmarks in File - Clears all bookmarks in the current editor.
- Goto Bookmark In File - Let's you goto a bookmark using a number (automatically assigned)
- Goto Next Bookmark - Goes to next bookmark in file
- Goto Previsou Bookmark - Goes to previous bookmark in file
- Toggle Bookmark - Toggles the bookmark at current editor line
Fastmarks
Fastmarks are nothing but bookmarks but little faster. You can access them anywhere in the workspace with a number and there can be only one Fastmark for each number in workspace.
Commands
- Set Fastmark - Sets a fastmark of specified number
- Goto Fastmark - Goes to specified numbered Fastmark
Copy
This group of commands let's you copy some text.
Commands
- Copy Filename with Path (Unix/Windows) - Copies the current open editor file name in Unix/Windows style of Path separator
- Copy All Filenames with Path (Unix/Windows) - Copies the all open editor file names in Unix/Windows style of Path separator
- Copy Append - Whatever you copy, will be appended to current Clipboard text
- Copy Append with New Line - Same as "Copy Append", but adds new line before copying
- Copy Bookmarked Lines - Copies all bookmarked lines in current file to clipboard
Delete
- Delete Surplus Blank Lines - Deletes the surplus blank lines in the text editor.
- Trim Training Spaces - Trims the trailing whitespace chars (Space, tab)
Insert
- Insert ISO Date - Inserts the current date in yyyy-MM-dd format
- Insert ISO Date/Time - Inserts the current datetime in yyyy-MM-dd'T'HH:mm:ssZ format
- Insert Long Date - Inserts the current date in long format
- Insert Short Date - Inserts the current date in short format
- Insert Time - Inserts the current time
- Insert Unix Time - Inserts the current daettime in Unix epoch format
- Insert Custom Date - Inserts the current datetime in one of many custom formats.
Encryption/Decryption
What if you wanted to encrypt piece of text in the file that only you should be able to read it back? Then these commands are for you.
- Encrypt Text - Encrypts the current selected text or whole editor using a password of your choice
- Decrypt Text - Decrypts the previously encrypted text
Transform Chars/String
- Convert Double Quotes to Single Quotes
- Convert Single Quotes to Double Quotes
- Swap Quotes
- Convert < and > to Xml safe chars
- Convert < and > (Xml Safe chars) to < and >
- Convert Text to Camel Case
- Invert Case
- To Lower Case
- To Upper Case
- To Sentence Case