You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,33 +68,33 @@ To run tests:
68
68
69
69
### Setting Up Local Language Servers
70
70
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.
72
72
73
73
#### Roslyn
74
74
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.
76
76
2. Follow the build instructions provided in the repository.
77
77
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.
79
79
80
80
#### Razor
81
81
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.
83
83
2. Follow the build instructions provided in the repository.
84
84
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`.
86
86
87
87
### Configuring Local Language Servers
88
88
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.
90
90
91
91
#### Roslyn
92
92
93
93
1. Navigate to `C:\Users\YourUsername\AppData\Roaming\Code\User\settings.json` and add the following lines:
Replace `$roslynRepoRoot` and `YourUsername` with your actual values.
@@ -124,7 +124,7 @@ Or, in VSCode settings (`Ctrl+,`):
124
124
3. Enable `razor.languageServer.debug`.
125
125
4. Set `razor.server.trace` to `Debug`. This gives you more detailed log messages in the output window.
126
126
127
-
#### Running Language Servers
127
+
###Debugging Local Language Servers
128
128
129
129
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.
0 commit comments