Author Topic: camelCase to under_score  (Read 550 times)

photometer

  • Community Member
  • Posts: 61
  • Hero Points: 0
camelCase to under_score
« on: November 30, 2020, 04:17:24 pm »
Is there a built-in function or macro that can convert the word under the cursor from camelCase to under_score?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6271
  • Hero Points: 484
Re: camelCase to under_score
« Reply #1 on: December 01, 2020, 04:45:14 pm »
I've added the following commands to 25.0.1 (no date set yet--hopefully December).

camelcase_to_underscore
underscore_to_camelcase
toggle_camelcase