Skip to content

Quick suggestions work incorrect #818

Closed

Description

From Yuriy Baranov (@yurriy) on June 10, 2017 1:8

extension cpptools is installed.
VS Code toggle quick suggestions popup, after I type "i++;", but it shouldn't.

  • VSCode Version: last
  • OS Version: Ubuntu 16.04

Steps to Reproduce:
With cpptools enabled, type "i++;" in any cpp file.

Copied from original issue: microsoft/vscode#28400

Activity

  1. bobbrow commented on Jun 12, 2017

    @bobbrow
    Contributor

    This is a VS Code bug. We do not register for completion suggestions when semicolon is typed. I repro this on Windows too. I asked the VS Code team to reactivate the original issue.

  2. sean-mcmanus commented on Jun 14, 2017

    @sean-mcmanus
    Contributor

    _; is an easy repro (i++ would only repro the bug if i gives > 1000 results). With _ the incomplete is intentional, because there are > 1000 results, and when the ; is encountered, the results are still > 1000 because it's invoking autocomplete on a new empty identifier. It looks like we need to somehow force auto complete to exit (via sending an empty result) when the initial identifier is interrupted.

  3. bobbrow commented on Jun 14, 2017

    @bobbrow
    Contributor

    This is a behavior change in VS Code. Does not repro in 1.11.2 and earlier. I am requesting that they address it. It would be wrong for us to suppress completion results because we don't know whether the request is a continuation of a quick suggestion or completion trigger, or if is manually invoked.

  4. bobbrow commented on Jun 29, 2017

    @bobbrow
    Contributor

    This is fixed in the latest VS Code Insiders build.

  5. locked and limited conversation to collaborators on Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions