enator
enator

Reputation: 2599

Any keyboard shortcut for intelliJ to replace space with underscore in selected text?

The way we can use Cmd + Option + U to make text upper case or lower case; is there any shortcut to replace spaces with underscores with selected text in IntelliJ Idea?

Like: HELLO WORLD to HELLO_WORLD?

Upvotes: 8

Views: 2903

Answers (1)

Ben Liyanage
Ben Liyanage

Reputation: 5453

Use this unofficial plugin:

https://plugins.jetbrains.com/plugin/2162-string-manipulation

Installation:

  • Apple + Comma
  • Search for plugins
  • Browse Repo
  • Search for String Manipulation
  • Click install

Upvotes: 6

Related Questions