Skip to content

A plugin for manipulating text (UPPER, lower, base64, etc) in the editor "Micro"

License

Notifications You must be signed in to change notification settings

NicolaiSoeborg/manipulator-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manipulator Plugin

This is an simple plugin to extend text manipulation in Micro.

Keybindings

By default no keybindings exist, but you can easily modify that in your bindings.json file:

{
    "Ctrl-L": "command:lower"
}

You can also execute a command which will do the same thing as the binding:

> lower

If you have a selection, the plugin will change all of the selection.

The following commands currently exists:

  • camel: camelCase
  • pascal: PascalCase
  • kebab: kebab-case
  • snake: snake_case
  • screamingSnake: SCREAMING_SNAKE_CASE
  • upper: UPPERCASE
  • lower: lowercase
  • reverse: Reverses
  • base64enc: Base64 encodes
  • base64dec: Base64 decodes
  • rot13: ROT-13
  • incNum: Increase number by one
  • decNum: Decrease number by one
  • capital: Capitalize First Letter
  • title: Title Case
  • brace: Adds brackets around selection
    • curly: Curly brackets ({ })
    • square: Square brackets ([ ])
    • angle: Angle brackets (< >)
    • dquote: Double quotes (" ")
    • squote: Single quotes (' ')
    • backtick: Backticks (` `)

Issues

Please use the issue tracker if you have any issues or feature requests!

Demo

Demo