Skip to content

typescript suggest insertion behave abnormal when method starts with $ #40087

@tommytroylin

Description

@tommytroylin
  • VSCode Version: 1.18.1
  • OS Version: macOS 10.12.6
  • Typescript: 2.6.2

Steps to Reproduce:

  1. new file
  2. select language mode to typescript
  3. write code
class A {
  $bar = {};
  $foo() {}
}

const a = new A();
  1. type a., wait for suggestWidget and select $bar. It outputs a.$bar as expected
  2. type a., select $foo. It outputs a.() and "$foo" is missing

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtypescriptTypescript support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions