You can install the extension in Visual Studio Code via the marketplace
Please see the Getting started overview.
If you have issues during installation of .NET Runtime, please see here.
The extension consists of two parts: The VSCode extension itself (written in TypeScript) and a "backend" server process (written in C#), which provides a bridge to ILSpy functionality.
If first time
npm i @vscode/vsce -g
Compile and package all parts:
./buildtools/publish-backend
./buildtools/build-vsix
An installable .vsix
file should be generated in artifacts
folder, if everything is fine.
Compile only backend server from console:
cd backend
dotnet build
Run backend tests:
cd backend
dotnet test
Or open backend/ILSpy-backend.sln
in Visual Studio 2022, Visual Studio Code or JetBrains Rider.
To develop and debug the VSCode extension, install Visual Studio Code, then run
cd vscode-extension
code .