An open API service indexing awesome lists of open source software.

https://github.com/mkloubert/vscode-easy-coffeescript

Visual Studio Code extension which compiles CoffeeScript files on save.
https://github.com/mkloubert/vscode-easy-coffeescript

autosave coffeescript vscode-extension

Last synced: 23 days ago
JSON representation

Visual Studio Code extension which compiles CoffeeScript files on save.

Awesome Lists containing this project

README

        

# vscode-easy-coffeescript

[![Share via Facebook](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Facebook.png)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&quote=Easy%20Coffeescript) [![Share via Twitter](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Twitter.png)](https://twitter.com/intent/tweet?source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&text=Easy%20Coffeescript:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&via=mjkloubert) [![Share via Google+](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Google+.png)](https://plus.google.com/share?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript) [![Share via Pinterest](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Pinterest.png)](http://pinterest.com/pin/create/button/?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&description=Visual%20Studio%20Code%20extension%2C%20which%20receives%20and%20shows%20git%20events%20from%20webhooks.) [![Share via Reddit](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Reddit.png)](http://www.reddit.com/submit?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&title=Easy%20Coffeescript) [![Share via LinkedIn](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/LinkedIn.png)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&title=Easy%20Coffeescript&summary=Visual%20Studio%20Code%20extension%2C%20which%20receives%20and%20shows%20git%20events%20from%20webhooks.&source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript) [![Share via Wordpress](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Wordpress.png)](http://wordpress.com/press-this.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript&quote=Easy%20Coffeescript&s=Visual%20Studio%20Code%20extension%2C%20which%20receives%20and%20shows%20git%20events%20from%20webhooks.) [![Share via Email](https://raw.githubusercontent.com/mkloubert/vscode-easy-coffeescript/master/img/share/Email.png)](mailto:?subject=Easy%20Coffeescript&body=Visual%20Studio%20Code%20extension%2C%20which%20receives%20and%20shows%20git%20events%20from%20webhooks.:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-easy-coffeescript)

[![Latest Release](https://vsmarketplacebadge.apphb.com/version-short/mkloubert.vscode-easy-coffeescript.svg)](https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-easy-coffeescript)
[![Installs](https://vsmarketplacebadge.apphb.com/installs/mkloubert.vscode-easy-coffeescript.svg)](https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-easy-coffeescript)
[![Rating](https://vsmarketplacebadge.apphb.com/rating-short/mkloubert.vscode-easy-coffeescript.svg)](https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-easy-coffeescript#review-details)

[Visual Studio Code](https://code.visualstudio.com) extension, which compiles [CoffeeScript](http://coffeescript.org/) files on save.



## Table of contents

1. [Install](#install-)
2. [How to use](#how-to-use-)
* [Settings](#settings-)
3. [Support and contribute](#support-and-contribute-)
4. [Related projects](#related-projects-)
* [vscode-helpers](#vscode-helpers-)

## Install [[↑](#table-of-contents)]

Launch VS Code Quick Open (`Ctrl + P`), paste the following command, and press enter:

```bash
ext install vscode-easy-coffeescript
```

Or search for things like `vscode-easy-coffeescript` in your editor.

## How to use [[↑](#table-of-contents)]

### Settings [[↑](#how-to-use-)]

Open (or create) your `settings.json` in your `.vscode` subfolder of your workspace.

Add a `coffeescript.compile` section and one or more "watchers":

```json
{
"coffeescript.compile": {
}
}
```

| Name | Description |
| ---- | --------- |
| `bare` | `(true)` if output without the top-level function safety wrapper. Default: `(false)` |
| `exclude` | One or more [glob patterns](https://github.com/isaacs/minimatch) of files to exclude. |
| `files` | One or more [glob patterns](https://github.com/isaacs/minimatch) of files to include. Default: `**/*.coffee` |
| `header` | `(true)` if output the `Generated by CoffeeScript` header. Default: `(false)` |
| `inlineMap` | `(true)` if output the source map as a base64-encoded string in a comment at the bottom. Default: `(false)` |
| `isActive` | `(true)` if extension is active. Default: `(true)` |
| `options` | Additional [options](http://coffeescript.org/#nodejs-usage) for the compiler. |
| `sourceMap` | `(true)` to generate a source map. Default: `(true)` |

## Support and contribute [[↑](#table-of-contents)]

If you like the extension, you can support the project by sending a [donation via PayPal](https://paypal.me/MarcelKloubert) to [me](https://github.com/mkloubert).

To contribute, you can [open an issue](https://github.com/mkloubert/vscode-easy-coffeescript/issues) and/or fork this repository.

To work with the code:

* clone [this repository](https://github.com/mkloubert/vscode-easy-coffeescript)
* create and change to a new branch, like `git checkout -b my_new_feature`
* run `npm install` from your project folder
* open that project folder in Visual Studio Code
* now you can edit and debug there
* commit your changes to your new branch and sync it with your forked GitHub repo
* make a [pull request](https://github.com/mkloubert/vscode-easy-coffeescript/pulls)

## Related projects [[↑](#table-of-contents)]

### vscode-helpers [[↑](#related-projects-)]

[vscode-helpers](https://github.com/mkloubert/vscode-helpers) is a NPM module, which you can use in your own [VSCode extension](https://code.visualstudio.com/docs/extensions/overview) and contains a lot of helpful classes and functions.