ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Case Conversion

by jdc0589 ST2/ST3

Case conversion plugin (pascal, camel, snake) for sublime text 2

Details

  • 2015.10.02.21.19.52
  • github.​com
  • github.​com
  • 1 year ago
  • 52 minutes ago
  • 5 years ago

Installs

  • Total 37K
  • Win 15K
  • OS X 14K
  • Linux 7K
Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 6 17 9 27 20 23 22 16 15 6 18 18 25 19 28 12 10 14 14 29 15 12 7 8 11 10 20 20 13 4 11 12 16 15 18 25 8 9 16 18 15 21 17 18 6 22
OS X 3 7 16 39 17 21 17 17 15 8 16 18 26 19 22 5 8 15 14 21 16 4 5 5 9 11 13 9 8 5 6 13 8 16 13 13 10 5 12 16 24 29 19 7 8 14
Linux 3 6 6 16 7 12 13 12 4 2 9 10 10 7 5 3 8 7 4 13 8 8 4 3 6 4 6 10 6 5 3 10 6 8 4 4 5 3 12 12 8 7 4 4 4 8

Readme

Source
raw.​githubusercontent.​com

Case Conversion

Case Conversion is a plugin for Sublime Text. It converts the current word/token between pascal, camel, snake, dot, dash (hyphen), forward slash /, backslash \ cases, and separated words.

Keybindings

  • To snake_case: “ctrl+alt+c”, “ctrl+alt+s”
  • To camelCase: “ctrl+alt+c”, “ctrl+alt+c”
  • To PascalCase: “ctrl+alt+c”, “ctrl+alt+p”
  • To dot.case: “ctrl+alt+c”, “ctrl+alt+d”
  • To dash-case: “ctrl+alt+c”, “ctrl+alt+h”
  • To separate words: “ctrl+alt+c”, “ctrl+alt+w”
  • To separate with forward slashes: “ctrl+alt+c”, “ctrl+alt+/”
  • To separate with backslashes: “ctrl+alt+c”, “ctrl+alt+b”
  • To toggle between snake_case, camelCase and PascalCase: “ctrl+shift+-”

Install

Package Control

Open the Command Palette, type ***pci*** to bring up **Package Control: Install Package**, hit Enter, then search for Case Conversion.

Git Clone

Clone this repository in to the Sublime Text “Packages” directory, which is located where ever the “Preferences” -> “Browse Packages” option in Sublime takes you.

Contributors

  • Davis Clark
  • Scott Bessler
  • Curtis Gibby
  • Matt Morrison

License

Copyright © 2012-2015 Davis Clark

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.