• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

case-switch

Atom editor package to change variable names from kebab- to snake_ to camelCase.
andersennl
2.2.4 3,041
12
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Case Switch package for Atom editor

Atom editor package to change variable/method names from kebab- to snake- to camelCase and back again.

Functionality

There are two ways to convert your selected text.

Direct conversion

By using the methods below, you let Atom detect what type-case your currently selected text has. You just have to choose what case you want the text to be.

  • alt-c ctrl-c switches selected text to camelCase
  • alt-c ctrl-s switches selected text to snake_case
  • alt-c ctrl-k switches selected text to kebab-case

Toggling through cases

Easily toggle through the cases for a selected text. This is probably the most useful command. currently the text isn't selected anymore after switching - this will be fixed soon.

(Default: alt-c ctrl-t on OS X)

Roadmap

  • fix toggle function loosing selection

Contribution

Feel free to open up a pull request or an issue to request a feature or to report a bug.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by