Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t9md/atom-transformer
Transform something
https://github.com/t9md/atom-transformer
atom
Last synced: 7 days ago
JSON representation
Transform something
- Host: GitHub
- URL: https://github.com/t9md/atom-transformer
- Owner: t9md
- License: mit
- Created: 2015-06-02T13:49:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-12T01:52:19.000Z (almost 7 years ago)
- Last Synced: 2024-10-29T18:24:54.137Z (about 2 months ago)
- Topics: atom
- Language: JavaScript
- Homepage: https://atom.io/packages/transformer
- Size: 62.5 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# transformer
Transform something.
![gif](https://raw.githubusercontent.com/t9md/t9md/8adfa669f584361bf4c5c85b3b3431be002dd336/img/atom-transformer.gif)
# Development status
Alpha.
Config parameter, command name might change without notification.# How to use
- `transformer:run`: run scripts
- `transformer:compile`: compile.Unlike [preview](https://atom.io/packages/preview) or [script](https://atom.io/packages/script), this package write output to normal TexEditor.
So you can use default TextEditor feature without special supports.
* e.g. search, copy&paste highlight LESS output with [pigments](https://atom.io/packages/pigments).## Supported language
Languages which "runner command is lower case of grammar name" are supported.
e.g.
Ruby's grammar name(`editor.getGrammar().name`) is Ruby.
and Ruby file can run by `ruby file.rb`.
Other languages fall into this type are Python, OCaml.For other languages not match above convention like `go run`, see [this file](https://github.com/t9md/atom-transformer/blob/master/lib/transformer.coffee).
# FAQ
## Command not found?
Configure `process.env.PATH` in you `init.coffee`.
e.g.
```coffeescript
process.env.PATH = "/usr/local/bin:/usr/bin"
```