Skip to content

valo/case-switch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Case Switch package for Atom editor

Atom editor package to change variable/method names from hyphen- 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 currectly selected text has. You just have to choose what case you want the text to be.

  • ctrl-c ctrl-c switches selected text to camelCase
  • ctrl-c ctrl-s switches selected text to snake_case
  • ctrl-c ctrl-h switches selected text to hyphen-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 switchting - this will be fixed soon.

(Default: ctrl-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 hyphen- to snake- to camelCase.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • CoffeeScript 97.1%
  • CSS 2.9%