Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>In Any CaseNew to Visual Studio Code? Get it now.

In Any Case

Will Stone

|
1,818 installs
| (1) | Free
Convert between string cases
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

In Any Case

drawing

VSCode extension that converts strings between cases using the Lodash utility library. Whilst there are already many string manipulation extensions, I simply wanted to build one for myself. I won't be offended if you'd rather use an alternative. However, if you'd like to help out, I'll happily look at pull requests. You'll find all the case-changer functions in src/cases.ts.

Features

Once you've highlighted the text to change, use the command palette (shift-cmd-p) to run the desired command.

Available commands:

  • camelCase
  • Capitalize
  • CONSTANT_CASE
  • Deburr
  • Escape
  • kebab-case
  • lower case
  • lOWER FIRST
  • PascalCase
  • snake_case
  • Start Case
  • to_lower
  • TO_UPPER
  • Unescape
  • UPPER CASE
  • Upper first

Development

Install dependencies:

npm i

Run the extension by opening the debug sidebar in VSCode and clicking the play button.

Run the tests by selecting Extension Tests from the debug task selection menu.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft