-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete deletes code on the right side of the line #10553
Comments
This is "by design". You can get the behavior you want by using "[cpp]": {
"editor.suggest.insertMode": "insert"
} See the change at #4892 . |
However, I'm not sure why we changed that setting to replace, so we can change it back to "insert" as the default. |
Thanks! It works fine now |
Yeah, we may want to update our default insertion mode though so users don't have to use that setting, not sure yet. |
@Longhanks Yes, our autocomplete behavior in your example matches VS and not TypeScript, i.e. even in insert mode it may do a replace. I've moved your request to #10613 . |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
When I autocomplete a param it deletes the content on the right side of the line
c++_autocomplete.mp4
Steps to reproduce:
first.
and place the cursor just afterfoo
command + space
orctrl + space (in windows)
to toggle the autocomplete menuExpected behavior:
I will like the behaviour I usually get when working with typescript, where when I call the autocomplete it respects what is written on the right of the line (see video below)
js_autocomplete.mp4
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: