As I’m working on refactoring some legacy code, I’ve encountered the challenge of changing the variable naming convention. The current convention is not standardized, and I’ve noticed that snake case (e.g., first_name) is commonly used. One additional constraint is to only change part of a file.
Following will looks for any places with an underscore followed by a lower case letter and replaces that with an upper case letter.
|
|
If you want to change case on selected lines you can use following.
|
|