intellij-idea - 如何使用实时模板将 $SELECTION$ 转换为蛇形案例(例如)?

标签 intellij-idea phpstorm webstorm jetbrains-ide live-templates

例如,如何将选定的代码转换为蛇形大小写(或 Camel 大小写或来自实时模板变量选项的其他标准表达式)

最佳答案

答案在 this comment on the JetBrains forum 中提供

There is "String Manipulation" plugin that lets you to convert the case of selected text via the right click menu or via custom shortcuts assigned at Settings/Preferences > Keymap.

You can install the plugin via Settings/Preferences > Plugins > Browse repositories.

关于intellij-idea - 如何使用实时模板将 $SELECTION$ 转换为蛇形案例(例如)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39903192/

相关文章:

intellij-idea - IntelliJ WebStorm 中的目录为红色是什么意思?

intellij idea 中的 tomcat 7.0 + JSF + CDI 支持

java - 错误 :(42, 70) java : underscores in literals are not supported in -source 1. 6(使用 -source 7 或更高版本在文字中启用下划线)

java - 使用 Intellij IDEA 格式化类似于类的 Java 记录字段

PHPStorm - 在检查时显示所有错误

debugging - 火狐远程调试 'listen'命令给出 'SyntaxError: missing ; before statement'

git - 如何在 IntelliJ IDEA 2018.1 + Git 集成插件中通过 GUI 创建空提交?

phpstorm - 如何在 phpstorm 中将 .gitignore 中的文件灰显?

phpstorm - PhpStorm 9.0.2 中 "heredoc format style"的设置在哪里

ios - WebStorm:设置React Native的模拟器ID