ELPA Logo GNU ELPA: cycle-quotes

cycle-quotes Atom Feed

Description
Cycle between quote styles
Latest
cycle-quotes.tar (.sig), 2024-Mar-31, 0.02 KiB
Maintainer
Simen Heggestøyl <simenheg@gmail.com>
Other versions:
development version
Website
https://elpa.gnu.org/nongnu/cycle-quotes.html
Repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

This package provides the `cycle-quotes' command to cycle between
different string quote styles.  For instance, in JavaScript,
there's three string quote characters: ", ` and '.  In a JavaScript
buffer, with point located someplace within the string,
`cycle-quotes' will cycle between the following quote styles each
time it's called:

   --> "Hi, it's me!" --> `Hi, it's me!` --> 'Hi, it\'s me!' --
  |                                                            |
   ------------------------------------------------------------

As seen in the above example, `cycle-quotes' tries to escape and
unescape quote characters intelligently.