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
When using the C# extension and with the option "editor.acceptSuggestionOnCommitCharacter": true " seems to be incorrectly considered as a commit character
It can be prevented by avoiding completions using Esc but that's not the goal I guess.
Steps to Reproduce
Write Console.WriteLine(, the extension should propose some completions with args in first
Write " as if you wanted to input a string without accepting completions
I see you have both C# devkit and intellicode extensions installed. Could you please let me know if the item being committed are from intellicode or not? i.e. intellicode items has a star prefix
Yes I have a star before the item, so it is an intellicode item.
With copilot (which disables Intellisense), I don't have this issue but I have another one, the completion menu often doesn't appear so that hides this issue since it's related to the completion.
Particularly, it doesn't show after Console.WriteLine(
However if I manually do Ctrl+Space to show it, I can reproduce even with copilot.
Type: Bug
Issue Description
When using the C# extension and with the option
"editor.acceptSuggestionOnCommitCharacter": true
"
seems to be incorrectly considered as a commit characterIt can be prevented by avoiding completions using
Esc
but that's not the goal I guess.Steps to Reproduce
Console.WriteLine(
, the extension should propose some completions withargs
in first"
as if you wanted to input a string without accepting completionsExpected Behavior
Console.WriteLine("
Actual Behavior
Console.WriteLine(args"
Logs
C# log
Activating C# + C# Dev Kit + C# IntelliCode...
info: LanguageServerHost[0]
Starting server...
Environment information
VSCode version: 1.80.2
C# Extension: 2.0.312
Using OmniSharp: false
Dotnet Information
Host:
Version: 7.0.9
Architecture: x64
Commit: 8e9a17b221
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.NETCore.App 7.0.9 [/home/oxy/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.9/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_ROOT [/usr/share/dotnet]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
Extension version: 2.0.312
VS Code version: Code 1.80.2 (2ccd690cbff1569e4a83d7c43d45101f817401dc, 2023-07-27T20:41:52.615Z)
OS version: Linux x64 6.1.39-2-lts
Modes:
The text was updated successfully, but these errors were encountered: