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
  • 8 years ago
  • 4 hours ago
  • 13 years ago

Installs

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