зеркало из https://github.com/microsoft/lsif-node.git
c64f5e9d3f | ||
---|---|---|
.. | ||
bin | ||
src | ||
.eslintignore | ||
.eslintrc.json | ||
.npmignore | ||
LICENSE | ||
README.md | ||
ThirdPartyNotices.txt | ||
package-lock.json | ||
package.json | ||
tsconfig.json | ||
tsconfig.publish.json | ||
tsconfig.watch.json |
README.md
lsif-tsc
Languag Server Index Format tool for TypeScript
Requirements
- Node.js at least
10.x.x
About
This tool supports creating LSIF dumps for TypeScript and JavaScript.
See also the Language Server Index Format Specification
How to Run the Tool
The easiest way to run the tool is to install the latest version (which are pre-release version starting with 0.x right now):
npm install -g lsif
Then execute the command on a TypeScript project using the following command:
lsif tsc -p tsconfig.json --out=dump.lsif
This saves an LSIF dump to dump.lsif
.
You might also want to execute list tsc --help
to get an overview of available command line options. Also of interest could be the overall readme