Skip to content
TextMate 2 Bundle Crystal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Commands
Preferences
Snippets
Syntaxes
.gitignore
LICENSE
README.md
info.plist

README.md

Crystal.tmbundle

TextMate 2 Bundle for Crystal.

Install

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone https://github.com/crystal-lang-tools/Crystal.tmbundle.git

Features

  • Build - Compile current file - CMD + b
  • Run - Run crystal run $current_file - CMD + r
  • Format Code - Auto check and format current file - CMD + s
  • Test - Run crystal spec $current_file - CMD + SHIFT + r

Special crystal path.

By default, this bundle will try to call the crystal command. You can specify a path via TM_CRYSTAL env variable.

TM_CRYSTAL=/path/to/your/crystal
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.