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.


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.


You need NodeJS installed.

npm install --global lspindex


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

  --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]

  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


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)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (11)
Dependents (0)

Copyright 2014 - 2016 © |