Skip to content

Commit f8619a2

Browse files
committed
Add lsp config for dotnet.
1 parent 19a1d09 commit f8619a2

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/lsp.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"lspServers": {
3+
"csharp": {
4+
"command": "dotnet",
5+
"args": ["tool", "run", "csharp-ls", "--solution", "GitHub.Copilot.SDK.sln"],
6+
"fileExtensions": {
7+
".cs": "csharp"
8+
},
9+
"projectRootFiles": ["GitHub.Copilot.SDK.sln"]
10+
}
11+
}
12+
}

dotnet/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"csharp-ls": {
6+
"version": "0.21.0",
7+
"commands": [
8+
"csharp-ls"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)