Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.73 KB

README.md

File metadata and controls

71 lines (47 loc) · 2.73 KB

Bunch.tmbundle

A TextMate bundle for editing files used with Bunch.app on macOS.

Bunch is a Mac automation app that processes plain text files with the extension .bunch. These Bunch files have their own "language", which tells Bunch what do do.

TextMate is a text editor for macOS. You can add additional capabilities to it by installing bundles. This project is a bundle for TextMate to make it easier to edit Bunch files.

This bundle includes:

  • Syntax highlighting for Bunch files and snippets
  • Completions for Bunch commands
  • Completion for any installed application name
  • Completion for frontmatter keys

Installation

  • If you haven't already installed TextMate, download and install it
  • Download Bunch.tmbundle.zip from the latest release on github
  • Double-click Bunch.tmbundle.zip to unzip the file
  • Double-click Bunch.tmbundle to install the bundle in TextMate

TextMate won't automatically keep this bundle updated for you. Update the bundle by following the installation steps. Watch the Bunch.tmbundle repository on github to be notified of new releases.

Screenshots

Using the builtin Cobalt theme:

Bunch syntax screenshot in Cobalt theme

Using the builtin Dawn theme:

Bunch syntax screenshot in Dawn theme

Warts

The syntax highlighting in this bundle has a few warts, ie stuff that isn't ideal. If I was smarter, I could probably figure out how to fix or work around all of these. But for now, they remain in a less than ideal state.

  • The Bunch documentation says that variable placeholders work inside of embedded shell scripts and applescripts. It would be great if I could syntax highlight those variable placeholders, and also include the shell syntax highlighting. I can only figure out how to do one or the other. So it highlights shell syntax.

For Bundle Developers

Reference material for customizing and creating bundles:

This repo also includes a SyntaxDemo.bunch file which shows all the syntax variations allowed in a real bunch file. The file helps with testing and validating modifications to the syntax highlighting included in this bundle.