File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 44- Debug from .csproj and .sln [ #5876 ] ( https://github.com/dotnet/vscode-csharp/issues/5876 )
55
66# 2.103.x
7+ * Fix indentation after pressing Enter in Razor files (PR: [ #8809 ] ( https://github.com/dotnet/vscode-csharp/pull/8809 ) )
78
89# 2.102.x
910* Update Roslyn to 5.3.0-2.25568.9 (PR: [ #8799 ] ( https://github.com/dotnet/vscode-csharp/pull/8799 ) )
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ import { HtmlDocument } from './htmlDocument';
5454import { HtmlForwardedRequest } from './htmlForwardedRequest' ;
5555import { BlazorDebugConfigurationProvider } from '../../razor/src/blazorDebug/blazorDebugConfigurationProvider' ;
5656import { ShowGeneratedDocumentCommand } from './showGeneratedDocumentCommand' ;
57+ import { RazorLanguageConfiguration } from '../../razor/src/razorLanguageConfiguration' ;
5758
5859export function registerRazorEndpoints (
5960 context : vscode . ExtensionContext ,
@@ -72,6 +73,9 @@ export function registerRazorEndpoints(
7273
7374 context . subscriptions . push ( BlazorDebugConfigurationProvider . register ( razorLogger , vscode ) ) ;
7475 context . subscriptions . push ( ShowGeneratedDocumentCommand . register ( roslynLanguageServer ) ) ;
76+
77+ const languageConfiguration = new RazorLanguageConfiguration ( ) ;
78+ context . subscriptions . push ( languageConfiguration . register ( ) ) ;
7579 } else {
7680 vscode . commands . executeCommand ( 'setContext' , 'razor.mode' , 'lsp' ) ;
7781 registerNonCohostingEndpoints ( ) ;
You can’t perform that action at this time.
0 commit comments