Categories


Authors:
kstenschke
Apache

Realigner

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

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 as quick-wrap buttons, hint: quick-wrap buttons can be selected via cursor up/down keys as well.

Mac Users: On Macs, the keyboard shortcuts are J, L or W together with Shift+Alt+Cmd

*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.
Downloads: 23023
Rating:
Participated in rating: 1
Version Since Build Until Build File/URL Size (Kb) Date Details
1.3.2. 80.8000. . Download 102.25 2014-10-17 15:30:31 details
. .
22 updates are hidden show all updates
Screenshot #14644
Screenshot #13976
Screenshot #14347

Recent change notes:

  • 1.3.2 Extended auto-complete of right hand side wrap part (brackets, braces, compounds, less/bigger than)
  • 1.3.1 Added cursor acceleration to wrap dialog: navigate quick-wrap buttons using up/down keys
  • 1.3.0
    • Added autodetect for quick-buttons: unwrap (if already wrapped) or wrap?
    • Added retina icons
  • 1.2.3 Added icon to popup menu
  • 1.2.2 Added save+restoring of dialog positions on screen

...Read full changelog on github

Comments:

kstenschke
2013-11-22 19:32:06
Hi Ramiro, V1.1.5 was compiled with a lower JRE dependency and should work for you again.
.
ramiro.araujo
Rated:
2013-11-19 19:06:45
Love this plugin Saddly, the last version broke on Intellij Idea 12.1.6 on Mac. The exception reads: com/kstenschke/shifter/ShifterSettingsComponent : Unsupported major.minor version 51.0 [Plugin: Shifter]: com/kstenschke/shifter/ShifterSettingsComponent : Unsupported major.minor version 51.0 [Plugin: Shifter] Cheers
.