Skip to content

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

License

Notifications You must be signed in to change notification settings

andersennl/case-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •