Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

tool bar main

Jeroen van Warmerdam edited this page Mar 30, 2016 · 4 revisions

Normal

image

dev mode

image

toolbar.cson

[
  {
    type: "button"
    icon: "document"
    callback: "application:new-file"
    tooltip: "New File"
    iconset: "ion"
  }
  {
    type: "button"
    icon: "folder"
    callback: "application:open-file"
    tooltip: "Open..."
    iconset: "ion"
  }
  {
    type: "button"
    icon: "archive"
    callback: "core:save"
    tooltip: "Save"
    iconset: "ion"
  }
  {
    type: "spacer"
  }
  {
    type: "button"
    icon: "search"
    callback: "find-and-replace:show"
    tooltip: "Find in Buffer"
    iconset: "ion"
  }
  {
    type: "button"
    icon: "shuffle"
    callback: "find-and-replace:show-replace"
    tooltip: "Replace in Buffer"
    iconset: "ion"
  }
  {
    type: "spacer"
  }
  {
    type: "button"
    icon: "navicon-round"
    callback: "command-palette:toggle"
    tooltip: "Toggle Command Palette"
    iconset: "ion"
  }
  {
    type: "button"
    icon: "gear-a"
    callback: "settings-view:open"
    tooltip: "Open Settings View"
    iconset: "ion"
  }
  {
    type: "spacer"
    mode: "dev"
  }
  {
    type: "button"
    icon: "refresh"
    callback: "window:reload"
    tooltip: "Reload window"
    iconset: "ion"
    mode: "dev"
  }
  {
    type: "button"
    icon: "terminal"
    callback: "window:toggle-dev-tools"
    tooltip: "Toggle Developer Tools"
    mode: "dev"
  }
]
Clone this wiki locally