https://github.com/616b2f/dotnet-bsp
Implementation of the BSP (Build Server Protocol) for dotnet C#
https://github.com/616b2f/dotnet-bsp
bsp bsp-server build build-server-protocol compilation-diagnostics diagnostics dotnet-bsp
Last synced: 6 months ago
JSON representation
Implementation of the BSP (Build Server Protocol) for dotnet C#
- Host: GitHub
- URL: https://github.com/616b2f/dotnet-bsp
- Owner: 616b2f
- License: mit
- Created: 2024-01-27T16:34:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-12T06:41:01.000Z (7 months ago)
- Last Synced: 2025-01-07T02:43:29.577Z (6 months ago)
- Topics: bsp, bsp-server, build, build-server-protocol, compilation-diagnostics, diagnostics, dotnet-bsp
- Language: C#
- Homepage:
- Size: 294 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-bsp
Build Server for .NET C#. BSP is designed to allow your editor to communicate with different build tools to compile, run, test, debug your code and more. For more info see the [Official BSP specification](https://build-server-protocol.github.io/docs/specification).This is currently in active development and is not stable. You are welcome to contibute and make PRs.
Implemented server interface features:
- [x] BuildInitialize: request
- [x] OnBuildInitialized: notification
- [x] BuildShutdown: request
- [x] OnBuildExit: notification
- [x] WorkspaceBuildTargets: request
- [ ] WorkspaceReload: request
- [x] BuildTargetSources: request
- [ ] BuildTargetInverseSources: request
- [ ] BuildTargetDependencySources: request
- [ ] BuildTargetDependencyModules: request
- [ ] BuildTargetResources: request
- [ ] BuildTargetOutputPaths: request
- [x] BuildTargetCompile: request
- [x] BuildTargetRun: request
- [x] BuildTargetTest: request
- [ ] DebugSessionStart: request
- [x] BuildTargetCleanCache: request
- [ ] OnRunReadStdin: notification
- [x] BuildTargetTestCaseDiscovery: request (not in the official specs!)Client remote interface features:
- [x] OnBuildShowMessage: notification
- [x] OnBuildLogMessage: notification
- [x] OnBuildPublishDiagnostics: notification
- [x] OnBuildTargetDidChange: notification
- [x] OnBuildTaskStart: notification
- [x] OnBuildTaskProgress: notification
- [x] OnBuildTaskFinish: notification
- [x] OnRunPrintStdout: notification
- [x] OnRunPrintStderr: notification# Build
```sh
dotnet build && dotnet publish
```# Setup for project
Build the project before you run the install script.```sh
./install.sh ../my-sample-project/
```# Credits
Thanks to the following projects that helped me to build this project.- https://github.com/dotnet/roslyn Took some parts of the implmentation of LSP from here