Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/crystal-lang-tools/crystal.tmbundle
TextMate 2 Bundle Crystal
https://github.com/crystal-lang-tools/crystal.tmbundle
crystal textmate
Last synced: about 1 month ago
JSON representation
TextMate 2 Bundle Crystal
- Host: GitHub
- URL: https://github.com/crystal-lang-tools/crystal.tmbundle
- Owner: crystal-lang-tools
- License: mit
- Created: 2017-03-14T05:43:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T13:55:36.000Z (over 1 year ago)
- Last Synced: 2024-05-03T05:13:55.614Z (8 months ago)
- Topics: crystal, textmate
- Size: 50.8 KB
- Stars: 19
- Watchers: 7
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Crystal.tmbundle
TextMate 2 Bundle for [Crystal](crystal-lang.org).
## Install
```bash
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
```## Contributors
- [@chris-huxtable](https://github.com/chris-huxtable) Chris Huxtable - creator
- [@hovsater](https://github.com/hovsater) Kevin Hovsäter - maintainer[See all contributors](https://github.com/crystal-lang-tools/Crystal.tmbundle/graphs/contributors)