Skip to content

Code completion proposes ___foo although symbol is __foo #8778

Closed

Description

TypeScript Version: 1.8.10
VS Code version: alpha

  • create js file with content
__foo;

<cursor>
  • request code complete
  • observe: the first entry returned from code complete tsserver request is:
    {
        "name": "___foo",
        "kind": "warning",
        "kindModifiers": "",
        "sortText": "1"
    }

where foo has 3 _ in front although the foo in the file has only two __ in front.

Activity

  1. changed the title [-]Code completion proposes ___foo although symbol is __for[/-] [+]Code completion proposes ___foo although symbol is __foo[/+] on May 24, 2016
  2. DanielRosenwasser commented on May 24, 2016

    @DanielRosenwasser
    Member

    Identifier escaping strikes again.

  3. ghost closed this as completedin #9159on Jun 14, 2016
  4. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions