Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 971
enator Avatar asked Nov 20 '17 11:11

enator


1 Answers

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
like image 96
Ben Liyanage Avatar answered Oct 15 '22 03:10

Ben Liyanage