Giter Site home page Giter Site logo

idea_caseconv's Introduction

Case Conversion

A plugin for JetBrain IDEs to convert between cases.

The plugin provides actions to convert to these cases:

  • snake_case
  • dash-case
  • camelCase
  • PascalCase
  • SCREAMING_SNAKE_CASE
  • UPPER CASE
  • lower case
  • fLIP cASE
  • Title Case
  • Sentence case
  • dot.case

The Plugin was inspired by the Case Conversion Plugin for SublimeText.

How to use

Select the text you want to convert and then invoke the desired action. There are multiple ways to do this:

  • Use the menu bar: The actions of this plugin can be found in "Edit" > "Convert Case"
  • Use the Find Action feature: Bring up the "Find Action" search dialog (default keyboard shortcut is Ctrl+Shift+A) and type the name of the desired convert action (or type "Convert Case" to see all actions). Tip: This search uses fuzzy matching so you can just type "camcas" for "Convert Case: camelCase".
  • Create a keyboard shortcut: Open Settings > Keymap and search for "Convert Case" and create a keyboard shortcut for the desired action.

Configuration

The plugin has a configuration page in the "Settings" window of the IDE. You can find it under Tools > Case conversion.

Currently there is only one configuration option:

  • Treat newline as: Can be either "White space" in which case selected line breaks will be treated like every other white space (i.e. as a word separator), or it can be "Record separator" in which case each line will be converted individually. The default is "White space".

Contributing

You can send patches, bugreports or feature-requests to laria-code at laria dot me. You can also go to the mirrored GitHub repo (https://github.com/silvasur/idea_caseconv) and create a pull request.

idea_caseconv's People

Contributors

silvasur avatar d3v2a avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.