Atom Packages Directory

a package directory for a text editor of the 21st Century

Url Utils by Daniel Bayley (https://github.com/danielbayley)

Install with:
    apm install url-utils
  

badge badge

Atom URL Utils

A small set of utilities for manipulating URLs in Atom.

Commands

Each command works on multiple selections, or each URL found in a block of selected text.

Tidy

Currently removes any unnecessary www. or trailing / from selected URLs, and prepends the http:// protocol if absent. For example, www.atom.io becomes http://atom.io.

This can be configured in the package settings to always enforce https.

The ability to automatically tidy up all URLs when specified files are saved can also be configured.

Encode/decode

URI encode/decode selected text.

Open

Open selected links in your default browser, or atom-webbrowser tabs if installed and configured in package settings.

Linkify

Wrap selected URLs in either Markdown or HTML link tags, depending on the current file grammar.


Install

apm install url-utils or search “url” under Packages within Atom.

License

MIT © Daniel Bayley

Keywords: url, link, format, beautify, utils Suggest keywords
Fork me on GitHub