Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

"Realigner" plugin for Jetbrains IDEs
https://github.com/kstenschke/realigner-plugin

intellij intellij-plugin java open-api phpstorm plugin

Last synced: 4 days ago
JSON representation

"Realigner" plugin for Jetbrains IDEs

Awesome Lists containing this project

README

        

h1. Realigner Plugin

Source code of the intellij IDEA "Realigner plugin":http://plugins.intellij.net/plugin/index?pr=&pluginId=7082
This is a plugin for the various intellij IDEs, working in IntelliJ IDEA, RubyMine, WebStorm, PhpStorm, PyCharm, PyCharm CE, AppCode, Android Studio, 0xDBE and CLion.

h2. Description

The Realigner plugin adds three tools for reformatting code:
* Join (Ctrl+Shift+Alt+J) - Removes newlines from selected lines, optionally joining them using a "glue" string.
* Split (Ctrl+Shift+Alt+P)- Replaces arbitrary strings with newlines. Splitting with an empty delimiter and w/o selection inserts a newline at the soft-wrap boundary.
* 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, P or W together with Shift+Alt+Cmd

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)

h2. Credits

The icons used in this plugin in 16x16 pixel resolution are part of the "Fugue iconset by p.yusukekamiyamane":http://p.yusukekamiyamane.com/
The retina icon variants have been adapted (combined details, changed colors, contrast and proportions) for this plugin to resemble the Fugue icons, out of icons from the following iconsets:
* "Farm Fresh Iconset":http://www.fatcow.com/ - join and split arrow icons
* "Pixelmixer Basic Set":http://www.pixel-mixer.com/ - bookmark, delete icon
* "Iconbeast Lite":http://www.iconbeast.com/ - wrap icon
* "Momentum Matte Icons":http://momentumdesignlab.com/ - book icon

h2. Changelog

Read full changelog: https://github.com/kstenschke/realigner-plugin/blob/master/CHANGELOG.textile

h2. License

Copyright 2012-2018 Kay Stenschke

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

"http://www.apache.org/licenses/LICENSE-2.0":http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.