mkloubert / vscode-easy-coffeescript

Visual Studio Code extension which compiles CoffeeScript files on save.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vscode-easy-coffeescript
GNU Lesser General Public License v3.0
2 stars 1 forks source link
autosave coffeescript vscode-extension

vscode-easy-coffeescript

Share via Facebook Share via Twitter Share via Google+ Share via Pinterest Share via Reddit Share via LinkedIn Share via Wordpress Share via Email

Latest Release Installs Rating

Visual Studio Code extension, which compiles CoffeeScript files on save.

Table of contents

  1. Install
  2. How to use
  3. Support and contribute
  4. Related projects

Install []

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

ext install vscode-easy-coffeescript

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

How to use []

Settings []

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

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

{
    "coffeescript.compile": {
    }
}
Name Description
bare (true) if output without the top-level function safety wrapper. Default: (false)
exclude One or more glob patterns of files to exclude.
files One or more glob patterns 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 for the compiler.
sourceMap (true) to generate a source map. Default: (true)

Support and contribute []

If you like the extension, you can support the project by sending a donation via PayPal to me.

To contribute, you can open an issue and/or fork this repository.

To work with the code:

Related projects []

vscode-helpers []

vscode-helpers is a NPM module, which you can use in your own VSCode extension and contains a lot of helpful classes and functions.