Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


An Atom package to toggle between single and double quotes

Subscribe to updates I use toggle-quotes

Statistics on toggle-quotes

Number of watchers on Github 72
Number of open issues 17
Average time to close an issue about 1 month
Main language JavaScript
Average time to merge a PR 20 days
Open pull requests 5+
Closed pull requests 1+
Last commit almost 2 years ago
Repo Created about 6 years ago
Repo Last Updated over 1 year ago
Size 82 KB
Organization / Authoratom
Page Updated
Do you use toggle-quotes? Leave a review!
View open issues (17)
View toggle-quotes activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating toggle-quotes for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

Toggle Quotes

Build Status Dependency Status

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

(NOTE: Currently unsupported on tab-indented lines. See for more information.)


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


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.).


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


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 Key Path Type Default Description
toggle-quotes.quoteCharacters string '" The characters toggle-quotes:toggle toggles between. No whitespace.

You can add language-specific settings for languages with more exotic string delimiters. For example, this setting in your config.cson will add backticks in JavaScript files, but not in other kinds of files:

    quoteCharacters: "\"'`"


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.


MIT License - see the LICENSE for more details.

toggle-quotes open issues Ask a question     (View All Issues)
  • about 3 years TextEditor.module.exports.Object.defineProperty.get is deprecated.
  • almost 4 years Add support for toggling selections
  • almost 4 years Add support for javascript / es6 ` characters
  • about 4 years It eats the characters below
  • about 4 years Sometimes breaks when string contains backslashes
  • about 4 years Doesn't work if a line contains multiple sets of quotes.
  • about 4 years When adding a custom quote it doesn't cycle through all of them
  • about 4 years Can't toggle quotes if line contains tabs
  • over 4 years Instead of escaping quotes, optionally reverse quotes.
  • almost 5 years Toggle quotes doesn't work on invalid single-quoted string JSON values
  • almost 5 years Add to Atom core?
  • almost 5 years Add backtick as a quote
  • about 5 years Suggestions
  • over 5 years Toggle quotes does not work in Plain Text buffers
  • over 5 years Multi-line quoted scope is broken
toggle-quotes open pull requests (View All Pulls)
  • Change keymap on linux and win32 plataforms
  • Update information
  • displayBuffer has been deprecated
  • Allow quote toggling in unrecognized (non-string as reported by the grammar) buffer areas
  • Determine the string scope selector dynamically
toggle-quotes list of languages used
Other projects in JavaScript