Skip to content

Instantly share code, notes, and snippets.

@asci
Created October 27, 2016 16:06
Show Gist options
  • Save asci/ebad6c007cf189b4ac020e2881f9b8ef to your computer and use it in GitHub Desktop.
Save asci/ebad6c007cf189b4ac020e2881f9b8ef to your computer and use it in GitHub Desktop.
# This file is used by Flex Tool Bar to create buttons on your Tool Bar.
# For more information how to use this package and create your own buttons,
# read the documentation on https://atom.io/packages/flex-tool-bar
[
{
type: 'button'
tooltip: 'Show in file tree'
callback: 'tree-view:reveal-active-file'
icon: 'bullseye'
iconset: 'fa'
}
{
type: "spacer"
}
{
type: 'button'
tooltip: 'Copy project path'
callback: 'tree-view:copy-project-path'
icon: 'share'
iconset: 'fa'
}
{
type: 'button'
tooltip: 'Copy full path'
callback: 'tree-view:copy-full-path'
icon: 'share-square-o'
iconset: 'fa'
}
{
type: 'spacer'
show: [
"js", "babel"
]
}
{
type: 'button'
tooltip: 'Run'
callback: 'script:run'
icon: 'play'
iconset: 'fa'
show: [
"js", "babel"
]
}
{
type: 'button'
tooltip: 'Run with profile'
callback: 'script:run-with-profile'
icon: 'play-circle'
iconset: 'fa'
show: [
"js", "babel"
]
}
{
type: 'button'
tooltip: 'Toggle linter'
callback: 'linter:toggle'
icon: 'flag'
iconset: 'fa'
show: [
"js", "babel"
]
}
{
type: 'button'
tooltip: 'Fix linter errors'
callback: 'linter:fix'
icon: 'wrench'
iconset: 'fa'
show: [
"js", "babel"
]
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'History'
callback: 'local-history:current-file'
icon: 'clock-o'
iconset: 'fa'
}
{
type: "button"
icon: "markdown"
callback: "markdown-preview:toggle"
hide: "!markdown"
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Split screen - Horizontally'
callback: ["pane:split-right", "window:focus-pane-on-left", "window:move-active-item-to-pane-on-right"]
icon: 'columns'
iconset: 'fa'
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Fold all'
callback: 'editor:fold-all'
icon: 'level-up'
iconset: 'fa'
}
{
type: 'spacer'
}
{
type: 'button'
tooltip: 'Reload Window'
callback: 'window:reload'
icon: 'refresh'
iconset: 'ion'
}
{
type: 'button'
tooltip: 'Toggle Developer Tools'
callback: 'window:toggle-dev-tools'
icon: 'bug'
}
{
type: 'button'
tooltip: 'Open Settings View'
callback: 'settings-view:open'
icon: 'gear-a'
iconset: 'ion'
}
{
type: 'spacer'
}
{
type: "button"
icon: "gear"
callback: "flex-tool-bar:edit-config-file"
tooltip: "Edit Tool Bar"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment