Skip to content

Can't rename TS 3.8 private fields #89542

@gregvanl

Description

@gregvanl
  • VSCode Version: 1.42 Insiders
  • OS Version: Windows 10

Found will testing #89387

Steps to Reproduce:

  1. Create a private field (#name: string).
  2. Try to rename (F2) the symbol.

Get a message "You cannot rename this element".

image

You can rename 'name' -> '#name' but can't rename after changed to '#name'.

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuesrenametypescriptTypescript support issuesupstream-issue-linkedThis is an upstream issue that has been reported upstream

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions