Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/okcompute/es-ctags

CTags compatible generator for ES6
https://github.com/okcompute/es-ctags

Last synced: about 1 month ago
JSON representation

CTags compatible generator for ES6

Awesome Lists containing this project

README

        

## Note: I don't use and maintain this package anymore. ES support has evolved and I'm now using Unitiversal Ctags (https://ctags.io) for my development requirements.

# es-ctags

[![](https://img.shields.io/travis/okcompute/es-ctags.svg)](https://travis-ci.org/okcompute/es-ctags)
[![](https://img.shields.io/npm/v/es-ctags.svg)](https://www.npmjs.com/package/es-ctags)
[![npm downloads](https://img.shields.io/npm/dm/es-ctags.svg?style=flat-square)](http://npm-stat.com/charts.html?package=es-ctags&from=2016-03-8)

CTags generator built/for ES6 using [tern](https://github.com/marijnh/tern). The
goal of this tool is to replicate the same CLI of the original *CTags* as close
as possible. This should enable *ESCtags* usage with tools like *CtrlP*,
*TagBar* and many others.

## Origin

This software is derived/inspired from
[jsctags](https://github.com/ramitos/jsctags). The source code to convert tern
ast to tags is mostly the same.

## install

```sh
npm install -g es-ctags
```

## usage

```sh

Usage: es-ctags [options] [others...]

Options:

-h, --help output usage information
-R, --recurse Recurse into directories
-a, --append Append the tags to an existing tag file.
--exclude Comma separated list of exclusion patterns. Exclude files and directories matching one of the `patterns`.
-f Write tags to specified file. Value of "-" writes tags to stdout ["tags"; or "TAGS" when -e supplied].
--extension File extension to look for. Default is `.js`

## license

MIT