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 typing a keyword at the start of another word and then pressing the space bar, the preceding word gets deleted. This behavior seems to be triggered when the autocomplete suggestions pop up.
I've uninstalled all other extensions and reset the entire VScode configuration.
🎥 Video Recording Here! 🎥Kooha-2023-06-19-02-45-00.webm
Steps to Reproduce
Open Visual Studio Code.
Enable the C# extension.
Create a new C# file or open an existing one.
Type a word, for example, exampleWord.
Place the cursor at the start of the word you just typed.
Begin typing a C# keyword such as bool.
Make sure the autocomplete suggestion popup appears.
Finish typing the word and press space bar
Expected Behavior
The keyword should be inserted at the cursor location followed by a space, without affecting the preceding word. For example, typing bool at the start of exampleWord should result in bool exampleWord.
Actual Behavior
The preceding word is deleted when the space bar is pressed after typing a keyword at the start of the word. Using the previous example, exampleWord is deleted and only bool remains.
Logs
OmniSharp log
Nothing appears in OmniSharp log when the word is replaced.
C# log
Nothing appears in C# output when the word is replaced.
Environment information
VSCode version: 1.79.2 C# Extension: 1.25.9
Mono Information
OmniSharp using mono: 6.12.0Dotnet Information
.NET SDK:
Version: 7.0.105
Commit: e1bc5e001c
Runtime Environment:
OS Name: endeavouros
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/7.0.105/
this also started recently for our team. i couldn't find any mention of this bug in the main vscode issues page, so i think this extension might be the source of it? my global "insert/replace" for suggestions is set to insert, so i don't think it's coming from that.
Issue Description
When typing a keyword at the start of another word and then pressing the space bar, the preceding word gets deleted. This behavior seems to be triggered when the autocomplete suggestions pop up.
I've uninstalled all other extensions and reset the entire VScode configuration.
🎥 Video Recording Here! 🎥
Kooha-2023-06-19-02-45-00.webm
Steps to Reproduce
Expected Behavior
The keyword should be inserted at the cursor location followed by a space, without affecting the preceding word. For example, typing
bool
at the start ofexampleWord
should result inbool exampleWord
.Actual Behavior
The preceding word is deleted when the space bar is pressed after typing a keyword at the start of the word. Using the previous example,
exampleWord
is deleted and onlybool
remains.Logs
OmniSharp log
Nothing appears in OmniSharp log when the word is replaced.
C# log
Nothing appears in C# output when the word is replaced.
Environment information
VSCode version: 1.79.2
C# Extension: 1.25.9
Mono Information
OmniSharp using mono: 6.12.0Dotnet Information
.NET SDK: Version: 7.0.105 Commit: e1bc5e001cRuntime Environment:
OS Name: endeavouros
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/7.0.105/
Host:
Version: 7.0.5
Architecture: x64
Commit: 8042d61b17
.NET SDKs installed:
6.0.118 [/usr/share/dotnet/sdk]
7.0.105 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.18 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.5 [/usr/share/dotnet/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
The text was updated successfully, but these errors were encountered: