lsif-dotnet 0.4.0-beta

Suggested Alternatives

LsifDotnet

This is a prerelease version of lsif-dotnet.
dotnet tool install --global lsif-dotnet --version 0.4.0-beta
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local lsif-dotnet --version 0.4.0-beta
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=lsif-dotnet&version=0.4.0-beta&prerelease
nuke :add-package lsif-dotnet --version 0.4.0-beta

LsifDotnet .NET 6.0

Visit https://lsif.dev/ to learn about LSIF.

Example scenario: Sourcegraph precise code intelligence (lsif-dotnet repo)

Only tested in win platform and don't support VisualBasic yet.

Implmented LSIF data:

  • textDocument/hover
  • textDocument/references
  • textDocument/definition
  • moniker

Requirement

Installed .net 6.0

Usage

PS C:\Downloads\lsif-dotnet-win-0.0.1-beta6\win> .\lsif-dotnet.exe -h
Description:
  An indexer that dumps lsif information from dotnet solution.

Usage:
  lsif-dotnet [<SolutionFile>] [options]

Arguments:
  <SolutionFile>  The solution to be indexed. Default is the only solution file in the current folder.

Options:
  --output <output>    The lsif dump output file. [default: dump.lsif]
  --dot                Dump graphviz dot file.
  --svg                Dump graph svg file.
  --culture <culture>  The culture used to show hover info. [default: en-US]
  --version            Show version information
  -?, -h, --help       Show help and usage information

Dump a solution's lsif file

Goto the folder of the solution file and run:

 .\lsif-dotnet.exe

And a dump.lsif file will be created in the current folder.

Download:

Github Release: https://github.com/tcz717/LsifDotnet/releases

Next

  • Formated logging
  • Linux/OSX verfication
  • Unit tests
  • VB support
  • nuget information extraction
  • More lsif features
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.4.0-beta 348 4/17/2022
0.3.1 508 4/22/2022