format-region.el/README.md
2023-06-03 15:49:03 +02:00

653 B

format-region.el

Transform region in different formats: camelCase, kebap-case or lisp-case, PascalCase or snake_case.

format-region

Usage

Select region and call:

camelCase

M-x format-to-camel-case-region

kebap-case o lisp-case

M-x format-to-kebap-case-region

or

M-x format-to-lisp-case-region

PascalCase

M-x format-to-pascal-case-region

snake_case

M-x format-to-snake-case-region

Installation

  1. Download format-region.el file.

  2. Add this to your ~/.emacs file:

(add-to-list 'load-path "/path/to/format-region.el")
(require 'format-region)