aki2o / tern-gas

A plugin of tern for Google Apps Script
8 stars 2 forks source link

What's this?

This is a plugin of tern for completing Google Apps Script.

Install

$ git clone https://github.com/aki2o/tern-gas.git
$ cd tern-gas
$ npm install -g

Configuration

A following config is put in .tern-project to enable this plugin.

{
    "plugins": {
        "gas": {}
    }
}

Update definition

The definition of Google Apps Script is put as hard code in this plugin.
Therefore, The update of Google Apps Script is not reflected into this plugin.

I'm going to make an effort to follow that, but it might not be done.
In this case, you are able to update this plugin by using the script under contrib directory like a following steps.

$ git clone https://github.com/aki2o/tern-gas.git
$ cd tern-gas
$ npm install opts
$ npm install request
$ npm install jsdom
$ npm install node.extend
$ node contrib/make_plugin.js
$ mv gas.new.js gas.js
$ npm install -g

For detail, run they having --help option.

Enjoy!!!