Skip to content

Autocomplete annoyingly tries to complete in comments. #9504

@JapanIsShinto

Description

@JapanIsShinto
  • 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:

  1. Type "// This isn't fun"
  2. Autocomplete will now popup, offering to complete "fun".
  3. The word I wanted was indeed fun, so I type space.
  4. Autocomplete changes "fun " to "function" for me.
  5. 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.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitysuggestIntelliSense, Auto Complete

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions