tool-bar-almighty

A tool-bar plugin that adds an 'almighty toolbar' with many commonly used actions

varemenos

25,614

90

0.9.0

MIT

GitHub

This package consumes the following services:

Toolbar Almighty - the only toolbar you need

https://img.shields.io/apm/v/tool-bar-almighty.svg https://img.shields.io/apm/dm/tool-bar-almighty.svg

This is a toolbar that provides many commonly used actions utilizing the tool-bar API.

screenshot

Toolbar entries

Available toolbar buttons:

Note: The toolbar buttons that require other packages will only appear if you have those packages installed

Installation

First you have to install the tool-bar package which is required:

apm install tool-bar

Then you install the tool-bar-almighty package:

apm install tool-bar-almighty

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.

Custom entries

You have the ability to include custom entries in the tool-bar-almighty by enabling the option in the package settings and entering a path relative to your .atom directory (that contains the entries you want to add).

The file must be in JSON format that contains an Array of entries.

Format

The format is based on tool-bar's but include 2 extra properties.

  1. type indicates whether the entry is a button or a spacer
  2. dependency indicates whether a button's package is not installed by default in Atom and should only be displayed if it's package is installed.

Example

[
  {
    "type": "button",
    "tooltip": "Open File",
    "callback": "application:open-file",
    "icon": "document-text",
    "iconset": "ion"
  },
  {
    "type": "spacer"
  },
  {
    "type": "button",
    "tooltip": "Open Folder",
    "callback": "application:open-folder",
    "icon": "folder",
    "iconset": "ion"
  },
  {
    "type": "button",
    "tooltip": "Merge Conflicts",
    "dependency": "merge-conflicts",
    "callback": "merge-conflicts:detect",
    "icon": "code-fork",
    "iconset": "fa"
  }
]

Known Issues / FAQ

License

The MIT License