Home > Web Front-end > JS Tutorial > body text

Converting snake_case to camelCase with vscode

王林
Release: 2024-07-19 12:49:11
Original
335 people have browsed it

The screenshot of the finder tool from VSCode

  • Open the find/replace and click on the .*
  • In the first input use _([a-zA-Z])
  • In the second use U$1

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

Now just convert everything and be happy converting SQL/JSON to object variables/params or anything else.

Gif of the replace working on

The above is the detailed content of Converting snake_case to camelCase with vscode. For more information, please follow other related articles on the PHP Chinese website!

source:dev.to
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!