Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 2.23 KB

README.md

File metadata and controls

69 lines (47 loc) · 2.23 KB

NetBeans Case Converter

This module provides easy to use string case converters.

Status

GitHub license GitHub release

Compatibility

  • NetBeans version 11.0+
  • Java version 1.8+

Installation

Manually

First, download the latest NBM package.
Then proceed through the menu Tools > Plugins > Downloaded > Add Plugins...

Apache NetBeans Plugin Portal Update Center

Go to Tools > Plugins > Available Plugins, check NetBeans Case Converter in the Editing section, then click the Install button.

Usage

In the editor panel:

  1. Select the text you want to change the case of
  2. Right-click to open the contextual menu
  3. Open the Convert To... submenu
  4. Click on the converter of your choice

Convert To... enabled

Please note that if no text is selected, the menu is disabled.

Convert To... disabled

Available Converters

Current available converters:

  • camelCase: first capitalized letter of each word, except for the first letter of the resulting word, no space
  • hyphen-case: lower case words separated with an hyphen
  • lower case: lower case words
  • PascalCase: first capitalized letter of each word, no space
  • Sentence case.: first capitalized letter of the first word, ends with a dot (capital letters within the sentence are preserved)
  • snake_case: lower case words separated with an underline character
  • Title Case: first capitalized letter of each word, one space between words
  • UPPER CASE: upper case words

License

This project is licensed under the terms of the Apache License, version 2