Autocomplete sometimes overwrites/deletes characters
See original GitHub issueI’m not really sure how to reproduce, because it seems to happen at complete random.
if (getKilled(NpcID.MONSTER_1)) {
if (getKilled(NpcID.MONSTER_2 {
Take that code for example: I replaced a previous value with MONSTER_1 using autocomplete, and it worked fine. A few lines down, I go to replace text by selecting it and start typing MONSTER_2 and autocomplete to finish typing it, and it deletes ))
. Sometimes it will even delete the opening bracket at the end too.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:15
- Comments:39 (8 by maintainers)
Top Results From Across the Web
visual studio code - VSCODE autocomplete deletes the text
When i use control + space it inserts the text like i wanted. But sometimes when i am writing it gives me the...
Read more >Autocompletion deletes text after insertion point when editing
Autocompletion tends to erroneously delete text after the point of insertion when editing variable declarations, and possibly at other times.
Read more >Fixed: Autocomplete is messed up in Outlook - Slipstick Systems
Users are reporting a problem in Outlook 2019, 2016, and Outlook 365: the autocomplete list is messed up. It may open upward, not...
Read more >How to make Visual Studio IntelliSense to not automatically ...
Just switch off auto completion mode using the settting: Edit->Intellisense->Toggle Completion Mode. You can see more information here: ...
Read more >Auto-Complete may not work - Office | Microsoft Learn
You type text in a cell in Microsoft Excel. The first few characters of the text that you type match an existing entry...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can set
"java.completion.overwrite": false
in your settingsI am able to reproduce this with a Visual studio code for windows with Angular project while typing inside HTML file. I’m not sure if windows version uses same mechanics as java one for linuxes, but i will share my experience. It might be an additional problem to already defined one by OP though.
example:
<div class="myclass" *ngIf="obj.isVisible(myParam)">
The overwrite happens when the auto-completion list source is the same HTML document. I mean, if i type “obj.isVisible” for the first time, there is no auto-completion suggestion shown, but when i repeat this inside same document, but another place, it will show auto-completion and will delete characters once suggestion is confirmed. If i type “myParam” inside parenthesis and confirm auto-completion, it will delete the closing parenthesis. If my starting string was *ngIf=“obj”> and i continue to write obj.isVi and confirm the suggestion, then it will delete "> characters.
I found no issues in .ts files (as it uses type driven auto-completion i guess). Only in HTML.