Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Latest commit

 

History

History
45 lines (28 loc) · 2.38 KB

README.md

File metadata and controls

45 lines (28 loc) · 2.38 KB

Toggle Quotes

Build Status Dependency Status

Toggle a single-quoted string to a double-quoted string, and vice versa.

toggle-quotes-demo

This is a package for Atom, a hackable text editor for the 21st Century.

Usage

Place the cursor within a string and execute the Toggle Quotes: Toggle command to toggle that string between single and double quotes. Only available when using a grammar that supports single-quoted and double-quoted strings, or any other configured string character (e.g. JavaScript, Python, Ruby, etc.).

Commands

Command Description
toggle-quotes:toggle Toggles the quote characters used for quoted strings between the configured Quote Characters (' and " by default).

Keybindings

Command Linux OS X Windows
toggle-quotes:toggle Ctrl-" Cmd-" Ctrl-"

Custom keybindings can be added by referencing the above commands. To learn more, visit the Using Atom: Basic Customization or Behind Atom: Keymaps In-Depth sections in the flight manual.

Configuration

Configuration Key Path Type Default Description
toggle-quotes.quoteCharacters string '" The characters toggle-quotes:toggle toggles between. No whitespace.

Contributing

Always feel free to help out! Whether it's filing bugs and feature requests or working on some of the open issues, Atom's contributing guide will help get you started while the guide for contributing to packages has some extra information.

License

MIT License - see the LICENSE for more details.