GithubHelp home page GithubHelp logo

quote-words's Introduction

Atom quote-words package

Quotes the separated words in the selected text.

Installing

Use the Atom package manager, which can be found in the Settings view, to search for and install quote-words. Or on the command line

apm install quote-words

Usage

Select words to quote such that this:

FOO, BAR, QUX

becomes this:

"FOO", "BAR", "QUX"

It looks for words containing standard word characters: letters, numbers and underscores. You may choose to use double or single quotes. It will update any existing quotes, either double or single, to your chosen quote character:

"FOO", 'BAR',
FOO_BAR
, FIZZY_1 : Q-U-X

becomes this:

"FOO", "BAR",
"FOO_BAR"
, "FIZZY_1" : "Q"-"U"-"X"

Multiple words appearing between punctuation separators are quoted together:

French Polynesia, French Southern Territories

becomes this:

"French Polynesia", "French Southern Territories"

More complex strings are treated naively:

https://github.com

becomes this:

"https"://"github"."com"

The commands are accessible from Packages -> Quote Words, context-menu -> Quote Words or default shortcuts:

ctrl-" and ctrl-'

You may need to install keyboard-localization for the shortcuts to work as expected with your keyboard.

License

MIT

quote-words's People

Contributors

jamesr73 avatar

Watchers

 avatar

quote-words's Issues

Avoid quotes in space seperated strings

Quote word is adding quotes on each word in a string which is space separated. I want quotes to appear in every new line and not in space seprated strings. Here is the example,

Problem

French Polynesia => "French" "Polynesia"
French Southern Territories => "French" "Southern" "Territories"

Required

French Polynesia => "French Polynesia"
French Southern Territories => "French Southern Territories"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.