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

  • 2017.02.15.21.45.13
  • github.​com
  • github.​com
  • 4 months ago
  • 2 hours ago
  • 6 years ago

Installs

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

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, screaming snake, dot, dash (hyphen), forward slash /, backslash \ cases, and separated words.

Keybindings

  • To snake_case: “ctrl+alt+c”, “ctrl+alt+s”
  • To SCREAMING_SNAKE_CASE: “ctrl+alt+c”, “ctrl+alt+shift+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
  • Gavin Higham

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.