Categories


Authors:
kstenschke

Realigner

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

Vendor: Kay Stenschke

Email:

Website: http://www.coexec.com/en...ls-software-development/

Source code: https://github.com/kstenschke/realigner-plugin

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

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: 31141
Rating:
Participated in rating: 2
Version Compatible builds Date
1.5.1 80.8000 18.03.2015 Download
28 updates are hidden show all updates
Screenshot #14347
Screenshot #13976
Screenshot #14644

Recent change notes

  • 1.5.1 Changed join: parts are now trimmed from whitespace before joining
  • 1.5.0
    • Improved keyboard accelerator: quick-wraps can now be applied w/ ENTER key
    • Improved UI: globalized mode options (instead of being quick-wrap exclusive)
    • Improved UI: removed explicit un/wrap buttons, renamed "Autodetect" to "Toggle"
  • 1.4.2 Added undo/redo capability to all text fields of realigner dialogs
  • 1.4.1 Compiled for JDK 1.6 (was 1.7 w/ 1.4.0), minor code optimization
  • 1.4.0 Added multi-caret support to wrapping

...Read full changelog on github

Comments:

Bojoer
Rated:
2015-03-13 03:22:04
If every plugin would work as nice as this one and had the same usability as this plugin, it would be a more relax task to install the plugins you need. This plugin is just awesome!
.
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
.