卓越飞翔博客卓越飞翔博客

卓越飞翔 - 您值得收藏的技术分享站
技术文章67133本站已运行428

使用vscode将snake_case转换为camelCase

the screenshot of the finder tool from vscode

  • 打开查找/替换并单击.*
  • 在第一个输入中使用 _([a-zA-Z])
  • 第二次使用U$1

The screenshot of the finder tool from VSCode with the inputs filled

现在只需转换所有内容,并乐意将 SQL/JSON 转换为对象变量/参数或其他任何内容。

Gif of the replace working on

卓越飞翔博客
上一篇: 部署 React 应用程序:GitHub 页面使用指南
下一篇: 返回列表
留言与评论(共有 0 条评论)
   
验证码:
隐藏边栏