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 month ago
  • 8 minutes ago
  • 5 years ago

Installs

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

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.