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

Case Conversion

by jdavisclark ALL

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

Details

  • 2017.08.07.15.50.53
  • github.​com
  • github.​com
  • 7 years ago
  • 2 hours ago
  • 13 years ago

Installs

  • Total 78K
  • Win 32K
  • Mac 30K
  • Linux 16K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 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
Windows 0 1 4 1 1 3 1 0 0 7 1 0 2 1 0 0 0 4 0 2 2 1 1 3 1 0 2 0 1 3 2 2 1 1 1 1 3 2 2 1 2 1 1 3 2 3
Mac 0 1 4 0 1 3 1 0 1 1 1 1 1 0 0 4 3 2 0 1 0 1 0 0 1 3 4 1 0 0 1 3 4 2 2 1 2 0 0 3 3 0 1 5 1 4
Linux 0 0 1 0 0 0 0 0 0 0 1 0 0 3 0 0 0 0 2 0 2 0 0 2 0 1 1 2 0 2 2 2 1 0 0 0 0 0 0 2 1 0 2 0 1 1

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.