From 75a374e6d6e759f688fa8a48a663087aa4bb624d Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 16 Aug 2024 15:53:13 -0700 Subject: [PATCH 1/2] Add option to disable completion in argument lists --- package.json | 6 ++++++ package.nls.json | 1 + 2 files changed, 7 insertions(+) diff --git a/package.json b/package.json index 113be1117..72373ba15 100644 --- a/package.json +++ b/package.json @@ -788,6 +788,12 @@ "description": "%configuration.dotnet.completion.provideRegexCompletions%", "order": 20 }, + "dotnet.completion.triggerCompletionInArgumentLists": { + "type": "boolean", + "default": "true", + "description": "%configuration.dotnet.completion.triggerCompletionInArgumentLists%", + "order": 20 + }, "dotnet.backgroundAnalysis.analyzerDiagnosticsScope": { "type": "string", "enum": [ diff --git a/package.nls.json b/package.nls.json index b3f1240b5..aca9c125c 100644 --- a/package.nls.json +++ b/package.nls.json @@ -51,6 +51,7 @@ "configuration.dotnet.completion.showCompletionItemsFromUnimportedNamespaces": "Enables support for showing unimported types and unimported extension methods in completion lists. When committed, the appropriate using directive will be added at the top of the current file. (Previously `omnisharp.enableImportCompletion`)", "configuration.dotnet.completion.showNameCompletionSuggestions": "Perform automatic object name completion for the members that you have recently selected.", "configuration.dotnet.completion.provideRegexCompletions": "Show regular expressions in completion list.", + "configuration.dotnet.completion.triggerCompletionInArgumentLists": "Automatically show completion list in argument lists", "configuration.dotnet.backgroundAnalysis.analyzerDiagnosticsScope": "Run background code analysis for: (Previously `omnisharp.enableRoslynAnalyzers`)", "configuration.dotnet.backgroundAnalysis.analyzerDiagnosticsScope.openFiles": "Open documents", "configuration.dotnet.backgroundAnalysis.analyzerDiagnosticsScope.fullSolution": "Entire solution", From fc9d3c0462f3e51d6a3bb4361fc611364438cd9a Mon Sep 17 00:00:00 2001 From: David Barbet Date: Mon, 19 Aug 2024 10:51:39 -0700 Subject: [PATCH 2/2] Update Roslyn to 4.12.0-2.24417.1 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 173727c6c..3ec38394c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) # Latest +* Add option `dotnet.completion.triggerCompletionInArgumentLists` to disable completion in argument lists (PR: [#7446](https://github.com/dotnet/vscode-csharp/pull/7446)) +* Bump Roslyn to 4.12.0-2.24417.1 (PR: [#7446](https://github.com/dotnet/vscode-csharp/pull/7446)) + * Fix issue projects would fail to load with missing output path error (PR: [#74791](https://github.com/dotnet/roslyn/pull/74791)) + * Expose option to disable completion triggers argument list (PR: [#74792](https://github.com/dotnet/roslyn/pull/74792)) + +# 2.44.x * Bump Roslyn to 4.12.0-2.24416.3 (PR: [#7448](https://github.com/dotnet/vscode-csharp/pull/7448)) * Use EnableCodeStyleSeverity instead of AnalysisLevel to control new diagnostic severity behavior (PR: [#73843](https://github.com/dotnet/roslyn/pull/73843)) * Cleanup LSP error reporting (PR: [#74530](https://github.com/dotnet/roslyn/pull/74530)) diff --git a/package.json b/package.json index 72373ba15..7a2dfc3ba 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ } }, "defaults": { - "roslyn": "4.12.0-2.24416.3", + "roslyn": "4.12.0-2.24417.1", "omniSharp": "1.39.11", "razor": "9.0.0-preview.24366.2", "razorOmnisharp": "7.0.0-preview.23363.1",