|
Project Information
Featured
Downloads
Links
|
paragraphwrap - an Eclipse command for wrapping textThis plugin provides a command for wrapping text so that no line is longer than a specified maximum. StatusThe plugin is currently considered beta quality and will be actively developed in the coming months. Please report any bugs or feature request in the issue list. News
WhatThis plugin implements a function that I have found missing when working with pure text documents in Eclipse. When working with pure text documents that are not code I often want to ensure that no lines are longer than a specific maximum, but this can quickly become a hassle to maintain manually as you change the text. This command will do this wrapping for you. Note that this is not the same as auto wrapping provided by many editors where long lines are automatically wrapped to the next line. This commandline will insert actual newlines into the text The command works by either wrapping the lines in the current paragraph based on the position of the cursor. Or, if you have some text selected it will only wrap the selected lines, possible spanning several paragraphs at once. The command will preserve the identation level of a paragraph if all the identation of all lines are equal. The common source code comment characters #, // and -- are treated as part of the identation if present. This is useful when using this function on source code comments. The command can be accessed using
The following to screenshots demonstrates the functionality.
Before wrapping has been performed
After wrapping has been performed |