-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSX/TSXRelates to the JSX parser and emitterRelates to the JSX parser and emitterFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
TypeScript Version: 3.0.0-dev.201xxxxx
Search Terms:
Code
var x = <div></div>; // rename div in open element to span
var y = <div></div>;
Expected behavior:
var x = <span></span>;
var y = <div></div>;
Actual behavior:
var x = <div></div>;
var y = <div></div>;
Playground Link:
Related Issues:
It is worth nothing that Occurrences highlight open and closed elements for JSX but not rename.
Find all references should not change though. there is value in finding all div
elements in the code base.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSX/TSXRelates to the JSX parser and emitterRelates to the JSX parser and emitterFixedA PR has been merged for this issueA PR has been merged for this issue