Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)

# 2.103.x
* Fix indentation after pressing Enter in Razor files (PR: [#8809](https://github.com/dotnet/vscode-csharp/pull/8809))

# 2.102.x
* Update Roslyn to 5.3.0-2.25568.9 (PR: [#8799](https://github.com/dotnet/vscode-csharp/pull/8799))
Expand Down
4 changes: 4 additions & 0 deletions src/lsptoolshost/razor/razorEndpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ import { HtmlDocument } from './htmlDocument';
import { HtmlForwardedRequest } from './htmlForwardedRequest';
import { BlazorDebugConfigurationProvider } from '../../razor/src/blazorDebug/blazorDebugConfigurationProvider';
import { ShowGeneratedDocumentCommand } from './showGeneratedDocumentCommand';
import { RazorLanguageConfiguration } from '../../razor/src/razorLanguageConfiguration';

export function registerRazorEndpoints(
context: vscode.ExtensionContext,
Expand All @@ -72,6 +73,9 @@ export function registerRazorEndpoints(

context.subscriptions.push(BlazorDebugConfigurationProvider.register(razorLogger, vscode));
context.subscriptions.push(ShowGeneratedDocumentCommand.register(roslynLanguageServer));

const languageConfiguration = new RazorLanguageConfiguration();
context.subscriptions.push(languageConfiguration.register());
} else {
vscode.commands.executeCommand('setContext', 'razor.mode', 'lsp');
registerNonCohostingEndpoints();
Expand Down
Loading