Skip to content

Commit 0664e5c

Browse files
committed
Merge remote-tracking branch 'upstream/main' into NoHostingLikeCohosting
2 parents ebe29c6 + 0abf259 commit 0664e5c

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
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
* Remove non-cohosting editor code (PR: [#8810](https://github.com/dotnet/vscode-csharp/pull/8810))
89

910
# 2.102.x

src/lsptoolshost/profiling/profiling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ async function executeDotNetTraceCommand(
113113
throw new Error(vscode.l10n.t(`Folder for trace file {0} does not exist`, traceFolder));
114114
}
115115

116-
const dotnetTraceArgs = `--process-id ${processId} --clreventlevel informational --providers "Microsoft-DotNETCore-SampleProfiler,Microsoft-Windows-DotNETRuntime"`;
116+
const dotnetTraceArgs = `--process-id ${processId} --clreventlevel informational --providers "Microsoft-DotNETCore-SampleProfiler,Microsoft-Windows-DotNETRuntime,Microsoft-CodeAnalysis-General:0xFFFFFFFF:5,Microsoft-CodeAnalysis-Workspaces:0xFFFFFFFF:5,RoslynEventSource:0xFFFFFFFF:5"`;
117117

118118
// Show an input box pre-populated with the default dotnet trace arguments
119119
const userArgs = await vscode.window.showInputBox({

src/lsptoolshost/razor/razorEndpoints.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ import { HtmlDocument } from './htmlDocument';
4545
import { HtmlForwardedRequest } from './htmlForwardedRequest';
4646
import { BlazorDebugConfigurationProvider } from '../../razor/src/blazorDebug/blazorDebugConfigurationProvider';
4747
import { ShowGeneratedDocumentCommand } from './showGeneratedDocumentCommand';
48+
import { RazorLanguageConfiguration } from '../../razor/src/razorLanguageConfiguration';
4849

4950
export function registerRazorEndpoints(
5051
context: vscode.ExtensionContext,
@@ -62,6 +63,9 @@ export function registerRazorEndpoints(
6263
context.subscriptions.push(BlazorDebugConfigurationProvider.register(razorLogger, vscode));
6364
context.subscriptions.push(ShowGeneratedDocumentCommand.register(roslynLanguageServer));
6465

66+
const languageConfiguration = new RazorLanguageConfiguration();
67+
context.subscriptions.push(languageConfiguration.register());
68+
6569
return;
6670

6771
//

0 commit comments

Comments
 (0)