Skip to content
"Realigner" plugin for IntelliJ IDEA
Java
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.idea
META-INF
out
src/com/kstenschke/realigner
README.textile
Realigner.iml
Realigner.jar
license.txt
test.txt

README.textile

Realigner Plugin

Source code of the intellij IDEA Realigner plugin
This is a plugin for the various intellij IDEs, working in IDEA, PhpStorm, AppCode, etc.

Description

The Realigner plugin is helpful e.g. to quickly convert lines to comma separated lists and vice versa.
Additionally the plugin adds a tool to wrap a selection, the current line or each of multiple selected lines
with surrounding strings. The wrap tool of the plugin also provides options for escaping single, double quote
and backslash characters and to remove white-space lines from a multi-line selection.
The plugin settings allow for setting up configurations of quickly accessible preconfigured options,
available than in the wrap dialog.

Realigner adds the following editing tools:

  • Ctrl+Shift+Alt+J – Joins selected lines by removing linefeeds. Optionally, a “gluing” string can be used as delimiter
  • Ctrl+Shift+Alt+L – Splits current line or selection into multiple lines at, before or after an arbitrary delimiter
  • Ctrl+Shift+Alt+W – Wraps current line / selection / each of multiple selected lines with an arbitrary prefix and/or postfix string

Credits

The icons used in this plugin are part of the Fugue iconset by p.yusukekamiyamane

License

Copyright 2012 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

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.

Something went wrong with that request. Please try again.