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
  • 1 week ago
  • 43 minutes ago
  • 5 years ago

Installs

  • Total 38K
  • Win 16K
  • OS X 15K
  • Linux 7K
Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 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
Windows 1 27 22 24 20 15 10 26 27 26 23 13 12 9 14 24 21 24 24 13 14 25 16 12 20 25 11 9 15 20 16 22 16 17 9 27 20 23 22 16 15 6 18 18 25 19
OS X 1 20 23 18 13 10 8 30 19 12 24 13 8 10 33 16 17 16 10 5 3 11 16 18 16 15 9 7 10 27 13 13 19 7 16 39 17 21 17 17 15 8 16 18 26 19
Linux 0 12 8 8 4 5 3 9 7 9 12 12 8 3 6 10 7 11 7 6 7 12 6 8 12 12 10 7 11 8 7 11 13 6 6 16 7 12 13 12 4 2 9 10 10 7

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.