• Stars
    star
    649
  • Rank 66,816 (Top 2 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 10 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

IntelliJ plugin - https://plugins.jetbrains.com/plugin/2162

String Manipulation Donate Version Downloads

IntelliJ plugin - https://plugins.jetbrains.com/plugin/2162


Main features

Provides actions for text manipulation:

Switch case:

  • Switch case (camelCase, kebab-lowercase, KEBAB-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, First word capitalized, Words Capitalized, PascalCase)
  • Toggle: SCREAMING_SNAKE_CASE / camelCase
  • Toggle: snake_case / camelCase
  • Toggle: kebab-case / snake_case
  • Toggle: kebab-case / camelCase
  • Toggle: dot.case / camelCase
  • Toggle: PascalCase / camelCase
  • Toggle: lowercase words / camelCase
  • Toggle: First word capitalized / camelCase
  • Toggle: Capitalized Words / camelCase
  • To camelCase
  • To snake_case
  • To kebab-case
  • To SCREAMING_SNAKE_CASE
  • To Capitalized_Snake_Case
  • Capitalize
  • To lower case
  • To UPPER CASE
  • Invert case
  • To Spring Boot System Env Variable
- 'Switch case' action can be customized, or new ones can be added in settings
- when nothing is selected, then either nothing or a whole line or a particular element is selected (report an issue if you find something to improve, each file type needs its own implementation to work flawlessly)

Un/Escape:

  • Un/Escape selected Java text
  • Un/Escape selected JavaScript text
  • Un/Escape selected C# text (regular, verbatim, interpolated)
  • Un/Escape selected HTML text
  • Un/Escape selected JSON text
  • Un/Escape selected XML text
  • Un/Escape selected SQL text
  • Un/Escape selected PHP text
  • Convert diacritics (accents) to ASCII
  • Convert non-ASCII to escaped Unicode
  • Convert escaped Unicode to String
  • Unicode normalization (NFD, NFC, NFKC, NFKD)

Encode/Decode:

  • Encode selected text to MD5 Hex
  • Encode selected text to SHA-1 Hex
  • Encode selected text to SHA-256 Hex
  • Encode selected text to SHA-512 Hex
  • Encode selected text to SHA3-256 Hex
  • Encode selected text to SHA3-512 Hex
  • De/Encode selected text as URL
  • De/Encode selected text to Base64
  • De/Encode selected text to Hex
  • ISO Timestamp to Epoch Milliseconds
  • Epoch Milliseconds to ISO Timestamp

Increment/Decrement:

  • Increment/decrement all numbers found.
  • Duplicate selection and increment/decrement all numbers found.
  • Create sequence - Keep first number, replace all other by incrementing
  • Increment duplicate numbers

Sort with natural order or Collator:

  • Reversing order of lines
  • Shuffle lines
  • Sort case-sensitive A-z
  • Sort case-sensitive z-A
  • Sort case-insensitive A-Z
  • Sort case-insensitive Z-A
  • Sort line length asc., desc.
  • Sort hexadecimally
  • Sort lines by subselection - only one selection/caret per line is handled
  • Sort tokens (delimited text)
  • Hierarchical sort
  • Shuffle Characters
  • JSON sort

Align:

  • Align carets/selections into a vertical line by inserting spaces
  • Format selected text to columns/table by a chosen separator/delimiter and sort by columns
  • Align text to left/center/right

Filter/Remove/Trim/Convert...:

  • Grep
  • Inverted Grep
  • Group by Grep - matched lines will be separated from not matched
  • Trim
  • Trim Trailing
  • Trim Leading
  • Replace whitespaces with a single space char
  • Remove all spaces
  • Remove duplicates - supports multicaret subselection
  • Keep only duplicate lines
  • Remove empty lines
  • Remove consecutive empty lines
  • Remove all newlines
  • Minify JSON
  • Convert Between JSON and YAML

Other:

  • Reverse Letters
  • Swap Words
  • Swap Characters/Selections/Lines/Tokens
  • Wrap or shift double quotes to single quotes to backticks
  • Swap between double quotes and single quotes
  • Straighten/Educate quotes
  • Switch file path separators: Windows<->UNIX
  • Select All Occurrences For All Carets
  • Duplicate Line or Selection And Replace
  • Extend Selection in Different "CamelHumps" Mode

Actions are available under Edit menu, or via the shortcut "alt M" and "alt shift M".
You can setup your own shortcuts for better usability.
Popup can be customized in File | Settings | Appearance & Behavior | Menus and Toolbars.


Privacy Notice: No personal data is collected at all


YourKit-Logo

YourKit supports open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.

More Repositories

1

EclipseCodeFormatter

IntelliJ plugin - use Eclipse's code formatter directly from IntelliJ. https://plugins.jetbrains.com/plugin/6546
Java
463
star
2

GrepConsole

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7125
Java
406
star
3

MavenHelper

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7179
Java
242
star
4

VisualVMLauncher

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7115
Java
98
star
5

krasa-jaxb-tools

XJC / JAXB plugin for generation of Bean Validation Annotations (JSR-303) and replacing primitive types
Java
60
star
6

FrameSwitcher

IntelliJ plugin - https://plugins.jetbrains.com/plugin/7138?pr=idea
Java
38
star
7

IdeaIconPack

UX friendly old colorful icons for IntelliJ 2018.2+ solving https://youtrack.jetbrains.com/issue/IDEA-192025
Java
29
star
8

CpuUsageIndicator

IntelliJ plugin https://plugins.jetbrains.com/plugin/8580?pr=idea
Java
22
star
9

EditorGroups

IntelliJ plugin prototype of https://youtrack.jetbrains.com/issue/IDEA-12130#comment=27-2838171
Java
22
star
10

translator-generator-intellij-plugin

Work in progress, contributors welcomed.
Java
8
star
11

UsefulActions

IntelliJ plugin
Java
6
star
12

DevSupportApp

Wicket application for automatic merging, building (parametrized remote ssh scripts execution) , replacing tokens in branches, IntelliJ plugins repo...
Java
6
star
13

krasa-jaxb-tools-example

Sample project for https://github.com/krasa/krasa-jaxb-tools
Java
5
star
14

ProjectCommandLauncher

My personal IntelliJ plugin for an easier life
Java
4
star
15

my-intellij-settings

Theme configuration
4
star
16

NonProjectFilesUnlocker

Java
3
star
17

StringManipulation-Localization

IntelliJ plugin https://plugins.jetbrains.com/plugin/18291-string-manipulation--localization/
Kotlin
1
star
18

IconColumnExample

Java
1
star
19

WakeOnLan

Java
1
star
20

ArduinoLaserDistance

Arduino Uno + laser distance sensor + LCD
C++
1
star
21

EclipseCodeFormatter-from-GoogleCode

use this project https://github.com/krasa/EclipseCodeFormatter
Java
1
star
22

krasa-wicket-spring-boot-quickstart

Spring Boot + Wicket + Jetty
Java
1
star
23

Albion-Market-Client

Java
1
star