Skip to content

trendsales/es-ctags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-ctags

npm downloads

CTags generator built/for ES6 using 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. The source code to convert tern ast to tags is mostly the same.

install

npm install -g es-ctags

usage

  Usage: es-ctags [options] <file> [others...]

  Options:

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

## license

MIT

About

CTags compatible generator for ES6

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%