The core engine behind the GSC Language Support extension. This repository contains both the .NET 10 Language Server and the TypeScript VS Code client.
GSCLSP.Core/: The C# Library that handles all parsing & indexing logicGSCLSP.Server/: The C# Language Server using OmniSharp.GSCLSP.Extension/: The VS Code extension client (TypeScript).GSCLSP.Extension/out/: Final binaries and data files for distribution.
- Server: .NET 10 (Self-contained, Single-file, Compressed)
- Client: TypeScript
- Package Manager: Bun
- .NET 10 SDK
- Bun (https://bun.sh)
dotnet publish -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true- Open
GSCLSP.slnxin Visual Studio or IDE of choice - Setup your NuGet to build the C# server
You can do so by going to Tools -> NuGet Package Manager -> Package Manager Settings, and then going to Sources and adding
nuget.orgfor sourcehttps://api.nuget.org/v3/index.json.
- Set the target to
Release, and then right click on the solution on the right and clickBuild Solution - Open a command prompt, and run
bun installinside of theGSCLSP.Extensionfolder.
Now you can open VSCode in the extension source code and click F5 to test the extension. Any updates done to the server can easily be reloaded from VSCode with the extension tester.