diff --git a/.github/lsp.json b/.github/lsp.json new file mode 100644 index 00000000..103eb2cc --- /dev/null +++ b/.github/lsp.json @@ -0,0 +1,22 @@ +{ + "lspServers": { + "csharp": { + "command": "dotnet", + "args": ["tool", "run", "csharp-ls", "--solution", "GitHub.Copilot.SDK.sln"], + "fileExtensions": { + ".cs": "csharp" + }, + "projectRootFiles": ["GitHub.Copilot.SDK.sln"], + "rootPath": "dotnet" + }, + "go": { + "command": "${HOME}/go/bin/gopls", + "args": ["serve"], + "fileExtensions": { + ".go": "go" + }, + "projectRootFiles": ["go.mod", "go.sum"], + "rootPath": "go" + } + } +} diff --git a/dotnet/dotnet-tools.json b/dotnet/dotnet-tools.json new file mode 100644 index 00000000..6f740bfe --- /dev/null +++ b/dotnet/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "csharp-ls": { + "version": "0.21.0", + "commands": [ + "csharp-ls" + ] + } + } +} \ No newline at end of file