Skip to content

About

Atom editor package to change variable names from kebab- to snake- to camelCase.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

64 Commits

Folders and files

Repository files navigation

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.

About

Atom editor package to change variable names from kebab- to snake- to camelCase.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages