-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Description
- VSCode Version: 1.3.1
- OS Version: not likely relevant, but it's Windows 7
I'm new to Visual Studio Code, so be gentle. There is new behavior in VSCode (or at least I don't remember it in the past). I don't know if it's part of the base VSCode, part of Microsoft's C/C++ extension that I installed, or some combination of both. But the end effect is that when I'm typing in a comment (either // or /* */ style), the autocomplete popup decides to show itself when it sees text that it knows. An example:
- Type "// This isn't fun"
- Autocomplete will now popup, offering to complete "fun".
- The word I wanted was indeed fun, so I type space.
- Autocomplete changes "fun " to "function" for me.
- Now I have to go back and edit it.
Similar things happen when I'm typing a period to end a sentence. Autocomplete sees this as an opportunity to try to turn a simple period into a dereference to a member.
The issue is that while having autocomplete do this on code is exactly what I want, having it do this when I'm typing comments is exactly what I don't.