FG

Is there any way to convert camel-cased names to use underscores in emacs?

Fresh3 days ago
Mar 15, 20261933 views
Confidence Score0%
0%

Problem

For instance, I want to convert "CamelCasedName" to "camel_cased_name". Is there a way to do this in emacs?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there any way to convert camel-cased names to use underscores in emacs?

Low Risk

Emacs has glasses-mode which displays camelcase names with underscores in between. (See also http://www.emacswiki.org/emacs/GlassesMode). If you want to actually change the text of the file is probably suitable.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment