Skip to content

ES6 class You cannot rename this element #8777

Closed
@dbaeumer

Description

@dbaeumer

From @mikehaas763 on May 23, 2016 16:35

  • VSCode Version: 1.1.1
  • OS Version: OS X El Capitan 10.11.5

Steps to Reproduce:

  1. Create an ES6 class with a constructor
export class AppEnvironment {
    constructor(environment) {
        this.environment = environment;
    }
}
  1. right click the environment symbol that's part of the this.environment expression -> click rename symbol
  2. Rename the symbol
  3. "You cannot rename this element"

I'm aware that this probably doesn't work because it's just not implemented yet. Just want to bring it up to hope it gets implemented.

Copied from original issue: microsoft/vscode#6680

Metadata

Metadata

Assignees

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