Categories


Authors:
kstenschke
Apache

Realigner

Products: IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, AppCode, Android Studio

Vendor: Kay Stenschke

Email:

Website: N/A

SourceCode: https://github.com/kstenschke/realigner-plugin

License: http://www.apache.org/licenses/LICENSE-2.0.html

Description:

The Realigner plugin adds three tools for reformatting text:
  • Join (Ctrl+Shift+Alt+J) - Removes newlines from selected lines, optionally joining them using a "glue" string.
  • Split (Ctrl+Shift+Alt+L)- Replaces arbitrary strings with newlines.*
  • Wrap / Unwrap (Ctrl+Shift+Alt+W) - Adds or removes a prefix- and postfix- string to a selection, the current line or each of multiple selected lines. Frequently used wraps can be stored via the plugin settings.

*Splitting with an empty delimiter and w/o selection inserts a newline at the soft-wrap boundary.

Realigner is helpful e.g. for:
  • Reformatting lines into comma-separated lists
  • Converting lists into lines
  • Breaking up long URLs for easier analysis
  • Quickly commenting-out multiple lines of code even if that particular language is not supported
  • Quickly un-commenting lines of code even if that particular language is not supported
  • Commenting-out / un-commenting using keyboards with layouts not compliant to the keyboard shortcuts for the similar in-built function
  • Reformatting long lines to wrap at the soft-wrap boundary (120 chars)

Please note: This plugin is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

The icons used in this plugin are part of the Fugue iconset (http://p.yusukekamiyamane.com/)
Downloads: 3107
Rating:
Participated in rating: 0
Version Since Build Until Build File/URL Size (Kb) Date Details
1.1.2. 80.8000. . Download 81.59 2013-05-21 22:48:48 details
. .
13 updates are hidden show all updates
Screenshot #13977
Screenshot #13976

Recent change notes:


1.1.2
  • Fixed: Soft-wrap boundary overlap detection did not comprehend for tab size
1.1.1
  • New: Splitting with an empty delimiter w/o selection inserts a linefeed at the soft-wrap boundary
1.1.0
  • Extended wrap action with unwrap option: removal of prefix and postfix
  • Removed transformations (escaping, white-space removal) from wrap option
1.0.9
  • Added detection of HTML tag in wrap prefix and presetting of postfix with resp. closing tag
1.0.8
  • Changed default glue of join action to be always saved/restored instead of suggesting a comma
  • Added auto-generated button label suggestion to wrap options of plugin settings
  • Added plugin settings icons
1.0.7
  • Bugfix: plugin settings compatibility issues with PhpStorm
1.0.6
  • Added plugin settings: configuration for quick wrap buttons
1.0.5
  • Added option to remove blank/white-space lines while wrapping
  • Added updating of text selection after wrapping
1.0.4
  • Added retaining of options preferences (application level)
  • Added disabling of options when no project, editor or necessary selection given
1.0.3
  • Added missing title text to dialog window of split and wrap option
  • Added error message when trying to join w/o multiple lines of selection
1.0.2
  • Changed wrap tool to work also w/o any surrounding text (to allow being used for escaping only)
  • Added options to escape single/double quotes and backslashes while wrapping
1.0.1
  • Added splitting options: split at / before / after delimiter
1.0.0
  • Initial release

Comments: No comments so far.