Conversation
SDK Consistency ReviewI've reviewed this PR for cross-SDK consistency. Summary✅ No consistency issues found - This PR adds development tooling (LSP configuration) for the .NET SDK and does not modify any SDK client APIs or functionality. AnalysisThe changes add:
This is infrastructure/tooling for development environment support (IDE integration, code intelligence), not SDK client functionality. ObservationThe
If the intent is to centralize LSP configuration for all SDKs in ConclusionThis PR maintains consistency - it's adding optional development tooling that doesn't impact SDK feature parity or public APIs.
|
There was a problem hiding this comment.
Pull request overview
This PR adds Language Server Protocol (LSP) configuration for the dotnet/C# SDK components of the repository. It configures the csharp-ls language server to provide IDE features like intellisense, go-to-definition, and other language services for C# files.
Changes:
- Added dotnet tools manifest (
dotnet/dotnet-tools.json) to declare csharp-ls as a project tool - Added LSP configuration (
.github/lsp.json) to configure how csharp-ls should be invoked for C# files
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
dotnet/dotnet-tools.json |
Declares csharp-ls version 0.21.0 as a dotnet local tool for the project |
.github/lsp.json |
Configures LSP server to use csharp-ls for .cs files with the GitHub.Copilot.SDK.sln solution |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Regarding the review comments: Solution file path: The config uses packageId: For local tool manifests (dotnet-tools.json), the tool name key ( rollForward: Fixed - removed the explicit |
SDK Consistency Review ✅This PR adds LSP (Language Server Protocol) configuration for development tooling and does not modify any SDK client code. The changes are:
No cross-SDK consistency issues identified. This is purely development environment setup that doesn't affect the SDK APIs, functionality, or feature parity across languages.
|
Cross-SDK Consistency ReviewThis PR adds LSP (Language Server Protocol) configuration for development tooling, which is infrastructure rather than SDK functionality. However, there's a minor consistency gap: Current State
SuggestionFor a consistent developer experience across all four SDK implementations, consider adding LSP configurations for TypeScript and Python as well: TypeScript: "typescript": {
"command": "typescript-language-server",
"args": ["--stdio"],
"fileExtensions": {
".ts": "typescript",
".tsx": "typescriptreact"
},
"rootUri": "nodejs"
}Python: "python": {
"command": "pylsp",
"args": [],
"fileExtensions": {
".py": "python"
},
"rootUri": "python"
}This would ensure all SDK contributors have equivalent IDE support regardless of which SDK they're working on. However, this is a nice-to-have rather than a critical consistency issue since it's development infrastructure, not SDK API parity.
|
Add lsp server config for dotnet.