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
{{ message }}
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
When code completion replaces the partial variable/operation name with the autocompleted one, it replaces the characters that cannot be part of the variable name, such as closing brackets, commas or semicolons.
To Reproduce
Steps to reproduce the behavior:
Autocomplete a partially typed variable name followed by , or ).
Expected behavior
Similar to C# autocomplete behavior, it makes sense to replace only the characters that can be part of the variable/operation name, leaving the closing brackets unchanged.
Screenshots
Using autocomplete in this situation:
produces the following replacement:
while the expected result would be:
System information
This behavior is not new, it's been around for at least half a year. My current setup is:
@SamarSha@ricardo-espinoza
Any updates on this issue? This behavior makes writing code somewhat frustrating, since on one hand I have to remember not to use the tempting autocomplete, but on the other hand I keep forgetting and using it and having to re-type the incorrectly replaced characters.
I found another odd autocomplete behavior that might be part of the same issue: autocompleting @Entr turns it into EntryPoint, deleting the @ symbol.
Activity
bamarsha commentedon Feb 12, 2021
I think this is likely a bug with Visual Studio's LSP client, so it may need to be fixed on Visual Studio's end. @ricardo-espinoza
tcNickolas commentedon Apr 13, 2021
@SamarSha @ricardo-espinoza
Any updates on this issue? This behavior makes writing code somewhat frustrating, since on one hand I have to remember not to use the tempting autocomplete, but on the other hand I keep forgetting and using it and having to re-type the incorrectly replaced characters.
I found another odd autocomplete behavior that might be part of the same issue: autocompleting
@Entr
turns it intoEntryPoint
, deleting the@
symbol.