Giter Site home page Giter Site logo

paulofilip3 / atom-toolbar-almighty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from varemenos/atom-toolbar-almighty

0.0 2.0 0.0 86 KB

Atom editor's missing toolbar

Home Page: https://atom.io/packages/tool-bar-almighty

License: MIT License

CoffeeScript 100.00%

atom-toolbar-almighty's Introduction

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:

  • new file
  • open file
  • open folder
  • save file
  • open git-control (missing from the screenshot) (requires git-control package)
  • open git projects (requires git-projects package)
  • list projects (requires project-manager package)
  • split screen horizontally
  • split screen vertically
  • git merge conflicts (requires merge-conflicts package)
  • toggle fullscreen
  • toggle tree-view
  • toggle minimap (requires minimap package)
  • auto indent
  • fold all
  • unfold all
  • reload window
  • toggle devtools
  • settings

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

  • Create a file inside .atom's directory, in this case ~/.atom/custom_entries.json
  • The tool-bar-almighty setting's value must match the filename mentioned above custom_entries.json (relative to the .atom directory)
  • The content of the file should look like the following:
[
  {
    "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

  • We've decided to remove the term2/term3 entries from the default entries, for more details and a possible fix read this issue's thread.
  • We've decided to only support the JSON format for the custom entries to prevent future formating issues.

License

The MIT License

atom-toolbar-almighty's People

Contributors

varemenos avatar jjerome00 avatar jerone avatar pongstr avatar drumkruk avatar

Watchers

James Cloos avatar Paulo Rosário (paro) avatar

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.