#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

#996 in Command line utilities

Download history 1/week @ 2024-09-18 144/week @ 2024-09-25 39/week @ 2024-10-02 9/week @ 2024-10-09 4/week @ 2024-10-16

148 downloads per month

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

~12–24MB
~384K SLoC