lspquery

0.0.2 • Public • Published

lspquery

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 lspquery

Usage

lspquery --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:
  lspquery --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

/lspquery/

    Package Sidebar

    Install

    npm i lspquery

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    29.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • felixfbecker