#snake-case #name #variables #cc #convert #refactoring #source

app fix-name-case

CLI tool to convert variable and function names to snake_case

4 stable releases

1.3.0 Sep 30, 2024
1.2.2 May 26, 2023

#1196 in Command line utilities

GPL-3.0-or-later

23KB
172 lines

FixNameCase

crate

Tool to convert variable and function names in C/C++ source code to snake_case.

Hidden files and files listed in .gitignore are untouched.

Tested on Ubuntu 22.04+ and Windows 10.

Install

$ cargo install fix-name-case

Usage

$ fix-name-case input_folder

Requirements

Please install these softwares:

On Windows, please configure so that ctags and ambr commands can be called without a full path.

Credits

Dependencies

~13–25MB
~394K SLoC