Is there a functionality like Sublime's “HTML: Encode Special Characters” in Intellij IDEA

折月煮酒 提交于 2019-12-05 05:15:19

It is not supported by IntelliJ directly, but a plugin called String Manipulation can help

From the plugin page:

Provide actions for text manipulation:

  • Un/Escape selected Java text
  • Un/Escape selected JavaScript text
  • Un/Escape selected HTML text
  • Un/Escape selected XML text
  • Un/Escape selected SQL text
  • Un/Escape selected PHP text
  • Trim selected text
  • Trim all spaces in selected text
  • Remove all spaces in selected text
  • De/Encode selected text as URL
  • Convert selected text to Camel Case
  • Convert selected text to Constant Case
  • Capitalize selected text
  • Encode selected text to MD5 Hex16
  • De/Encode selected text to Base64
  • Remove empty lines
  • Convert non ASCII to escaped Unicode
  • Convert escaped Unicode to String
  • Grep selected text, All lines not matching input text wil be removed. (Does not work in column mode)
  • Increment/Decrement selected text. Duplicate line and increment/decrement all numbers found.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!