oncework / codeexpander

A cross-platform cloud synchronization (Github/Gitee) development efficiency tool that integrates input enhancement and code snippet management specifically for developers. 专为开发者开发的一个集输入增强、代码片段管理为一体跨平台云同步(Github/Gitee)的开发效率工具。
https://codeexpander.com
449 stars 30 forks source link

首字母大写,下划线,重复这些怎么实现? #47

Closed jiqimaogou closed 3 years ago

jiqimaogou commented 4 years ago

比如我有一段文本:

class Test {
    pubilc static Test newInstance() {
         Test test = new Test();
    }
}

我只想输入Test,后续的test是首字母小写,其他的重复Test一并使用我输入的第一个Test。

xudaolong commented 4 years ago

@jiqimaogou 可以写 javascript 脚本生成 或者 fillin 模式

https://i.loli.net/2020/09/05/noQH91pTCXLYstb.gif

或者

class Test%c% {  > 重命名
    pubilc static Test newInstance() {
         Test test = new Test();
    }
}

变量模式在开发中,以后会

[指令] 参数 参数