Skip to content

wmaurer/vscode-change-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7e1f0e1 · Nov 1, 2016

History

37 Commits
Nov 1, 2016
Nov 18, 2015
Nov 1, 2016
Oct 6, 2016
Oct 24, 2015
Nov 8, 2015
Oct 24, 2015
Nov 1, 2016
Nov 1, 2016
Oct 6, 2016

Repository files navigation

Change Case Extension for Visual Studio Code

A wrapper around node-change-case for Visual Studio Code. Quickly change the case of the current selection or current word.

If only one word is selected, the extension.changeCase.commands command gives you a preview of each option:

change-case-preview

change-case also works with multiple cursors:

change-case-multi

Note: Please read the documentation on how to use multiple cursors in Visual Studio Code.

Install

Launch VS Code Quick Open (Ctrl/Cmd+P), paste the following command, and press enter.

ext install change-case

Commands

  • extension.changeCase.commands: List all Change Case commands, with preview if only one word is selected
  • extension.changeCase.camel: Change Case 'camel': Convert to a string with the separators denoted by having the next letter capitalised
  • extension.changeCase.constant: Change Case 'constant': Convert to an upper case, underscore separated string
  • extension.changeCase.dot: Change Case 'dot': Convert to a lower case, period separated string
  • extension.changeCase.kebab: Change Case 'kebab': Convert to a lower case, dash separated string (alias for param case)
  • extension.changeCase.lower: Change Case 'lower': Convert to a string in lower case
  • extension.changeCase.lowerFirst: Change Case 'lowerFirst': Convert to a string with the first character lower cased
  • extension.changeCase.no: Convert the string without any casing (lower case, space separated)
  • extension.changeCase.param: Change Case 'param': Convert to a lower case, dash separated string
  • extension.changeCase.pascal: Change Case 'pascal': Convert to a string denoted in the same fashion as camelCase, but with the first letter also capitalised
  • extension.changeCase.path: Change Case 'path': Convert to a lower case, slash separated string
  • extension.changeCase.sentence: Change Case 'sentence': Convert to a lower case, space separated string
  • extension.changeCase.snake: Change Case 'snake': Convert to a lower case, underscore separated string
  • extension.changeCase.swap: Change Case 'swap': Convert to a string with every character case reversed
  • extension.changeCase.title: Change Case 'title': Convert to a space separated string with the first character of every word upper cased
  • extension.changeCase.upper: Change Case 'upper': Convert to a string in upper case
  • extension.changeCase.upperFirst: Change Case 'upperFirst': Convert to a string with the first character upper cased

Support

Create an issue, or ping @waynemaurer on Twitter.

About

Change Case Extension for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Packages

No packages published