Skip to content

Commit 852c1f0

Browse files
committed
Final tweaks
1 parent 504b6af commit 852c1f0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,33 +68,33 @@ To run tests:
6868

6969
### Setting Up Local Language Servers
7070

71-
This section provides a step-by-step guide on setting up locally developed Razor or Roslyn language servers for debugging. This setup is beneficial when troubleshooting the behavior of these language servers with the VSCode C# extension.
71+
This section shows how to set up local Razor or Roslyn language servers for debugging with the VSCode C# extension.
7272

7373
#### Roslyn
7474

75-
1. Clone the [Roslyn repository](https://github.com/dotnet/roslyn) locally. This repository contains the Roslyn server implementation.
75+
1. Clone the [Roslyn repository](https://github.com/dotnet/roslyn). This repository contains the Roslyn server implementation.
7676
2. Follow the build instructions provided in the repository.
7777

78-
After building, you can find the server DLL in the build output directory. The typical location is `$roslynRepoRoot/artifacts/bin/Microsoft.CodeAnalysis.LanguageServer/Debug/net8.0/Microsoft.CodeAnalysis.LanguageServer.dll`, but this may vary based on the built configuration.
78+
The server DLL is typically at `$roslynRepoRoot/artifacts/bin/Microsoft.CodeAnalysis.LanguageServer/Debug/net8.0/Microsoft.CodeAnalysis.LanguageServer.dll`, but this may vary based on the built configuration.
7979

8080
#### Razor
8181

82-
1. Clone the [Razor repository](https://github.com/dotnet/razor) locally. This repository contains the Razor server implementation.
82+
1. Clone the [Razor repository](https://github.com/dotnet/razor). This repository contains the Razor server implementation.
8383
2. Follow the build instructions provided in the repository.
8484

85-
Similar to Roslyn, after building, the server DLL will be in the build output directory. The typical location is `$razorRepoRoot/artifacts/bin/rzls/Debug/net8.0`, but this may vary based on the built configuration.
85+
The server DLL is typically at `$razorRepoRoot/artifacts/bin/rzls/Debug/net8.0`.
8686

8787
### Configuring Local Language Servers
8888

89-
This section provides instructions on how to debug locally developed Roslyn and Razor language servers. You can do this by either directly editing the `settings.json` file or through the VSCode settings interface.
89+
This section provides instructions on how to debug locally built Roslyn and Razor language servers. You can do this by either directly editing the `settings.json` file or through the VSCode settings interface.
9090

9191
#### Roslyn
9292

9393
1. Navigate to `C:\Users\YourUsername\AppData\Roaming\Code\User\settings.json` and add the following lines:
9494

9595
```json
9696
"dotnet.server.waitForDebugger": true,
97-
"dotnet.server.path": "$roslynRepoRoot\\artifacts\\bin\\Microsoft.CodeAnalysis.LanguageServer\\Debug\\net8.0\\Microsoft.CodeAnalysis.LanguageServer.dll"
97+
"dotnet.server.path": "$roslynRepoRoot\\artifacts\\bin\\Microsoft.CodeAnalysis.LanguageServer\\Debug\\net7.0\\Microsoft.CodeAnalysis.LanguageServer.dll"
9898
```
9999

100100
Replace `$roslynRepoRoot` and `YourUsername` with your actual values.
@@ -124,7 +124,7 @@ Or, in VSCode settings (`Ctrl+,`):
124124
3. Enable `razor.languageServer.debug`.
125125
4. Set `razor.server.trace` to `Debug`. This gives you more detailed log messages in the output window.
126126

127-
#### Running Language Servers
127+
### Debugging Local Language Servers
128128

129129
Before running the language servers, ensure you have followed the steps in the [Configuring Local Language Servers](#configuring-local-language-servers) section to configure either the Roslyn or Razor language servers for debugging.
130130

0 commit comments

Comments
 (0)