atom-toolbar-preferred

An Atom tool-bar plugin that builds upon tool-bar to provide many preferred actions, including live previews, git, formatting, dev tools, IDE tools, and other popularly used actions while remaining uncluttered and intuitive.

sparkDEMAND

3,774

3

1.4.1

Apache-2.0

GitHub

This package consumes the following services:

Preferred Toolbar for Atom: a tool-bar plugin

Build Status bitHound Overall Score Greenkeeper badge NSP Status

APM Downloads APM Version APM License

About

This is a plugin for the Atom Tool Bar package.

Description

An Atom tool-bar plugin that builds upon the tool-bar package to provide preferred actions, including live previews, git, formatting, dev tools, IDE tools, and other popularly used actions while remaining uncluttered and intuitive.

It is a fully configurable toolbar compatible with any package. Configuration can be done with a CSON, JSON, JSON5, js, or coffee file to perform specific actions in Atom or to open web sites in your default browser.

screenshot

To edit your config file, type Atom Toolbar Preferred: Edit Config File in the Atom command palette.

Default Setup

General Commands

Previews & Management

Git Commands

Viewing & Arranging

Formatting

IDE & Dev Tools

Note: The toolbar buttons that require other packages will appear when you have those packages installed.

Installation

To use 'atom-toolbar-preferred', you have to first install the 'tool-bar' dependency package:

Command Line

apm install tool-bar

Then you install the atom-toolbar-preferred package:

apm install atom-toolbar-preferred

Options

  1. You have the ability to include custom entries.
  2. You also have the ability to load the suggested defaults along side your custom entries, or only the custom entries.

Configuration

Atom Preferred Toolbar has four types you can configure:

button, url, function and spacer.

  1. button creates default buttons for your toolbar.

    You can use it to set actions like application:new-file.

  2. url creates buttons pointing to specific web pages.

    Use this to open any web site, such as your GitHub notifications, in your default browser.

    If you have the package browser-plus installed, you can open links with atom. To enable this feature, check the corresponding box within Atom Toolbar Preferred's settings.

    Atom URI can also be used. For example; atom://config/packages/atom-toolbar-preferred will open Atom Toolbar Preferred's settings.

Features

Example

[
  {
    type: "url"
    tooltip: "Github Page"
    url: "https://github.com/"
    icon: "octoface"
  },
  {
    type: 'button'
    tooltip: 'List projects'
    dependency: 'project-manager'
    callback: 'project-manager:list-projects'
    icon: 'file-submodule'
  },
  {
    type: 'button'
    tooltip: 'Markdown Preview'
    dependency: 'markdown-preview'
    callback: 'markdown-preview:toggle'
    disable: '!markdown' # only show button for markdown files
    icon: 'social-markdown'
    iconset: 'ion'
  },
  {
    type: "function"
    tooltip: "Debug Target"
    callback: (target) ->
      console.dir target
    icon: "bug"
    iconset: "fa"
  },
  {
    type: "spacer"
  }
]

See more examples on Wiki

Authors

sparkDEMAND Jay Schwartz
sparkDEMAND Jay Schwartz

License

Apache-2.0 @ sparkDEMAND, LLC.