lspindex
CLI tool to build a symbol graph by querying a language server
Last updated 8 months ago by felixfbecker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lspindex 
SYNC missed versions from official npm registry.

lspindex

A CLI tool to start a language server speaking the Language Server Protocol on a project, query all its symbols and references and output the result as graph encoded in GXL.

Install

You need NodeJS installed.

npm install --global lspindex

Usage

lspindex --rootUri <rootUri> <language server command to run>

Options:
  --version      Show version number                                   [boolean]
  --rootPath     The rootUri to pass to the language server in the initialize
                 message                                     [string] [required]
  --filePattern  Glob pattern for files that symbols should be collected from
                 (relative to rootPath)                                 [string]
  --outFile      The file path to the output GXL file        [string] [required]
  --help         Show help                                             [boolean]

Examples:
  lspindex --rootPath                        Analyze Python files in the flask
  /Users/felix/git/flask --filePattern      project with the Python language
  '**/*.py' --outFile flask.gxl pyls        server and write the result to
                                            flask.gxl

Build

npm install

Current Tags

  • 0.1.4                                ...           latest (8 months ago)

7 Versions

  • 0.1.4                                ...           8 months ago
  • 0.1.3                                ...           a year ago
  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (11)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |