🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

lspindex

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lspindex

CLI tool to build a symbol graph by querying a language server

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 29 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts