-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Open
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieshtmlHTML support issuesHTML support issuesjavascriptJavaScript support issuesJavaScript support issueskeepIssues we should not close as out of scopeIssues we should not close as out of scope
Milestone
Description
- VSCode Version: v1.14.1
- OS Version: macOS Sierra v10.12.6
- Reproduces without extensions: Yes
Steps to Reproduce:
- Create these two files:
my-custom-element.js
class MyCustomElement extends HTMLElement {
static get is() {
return 'my-custom-element';
}
}
customElements.define(MyCustomElement.is, MyCustomElement);
my-custom-element.html
<script>
class MyCustomElement extends HTMLElement {
static get is() {
return 'my-custom-element';
}
}
customElements.define(MyCustomElement.is, MyCustomElement);
</script>
- Try the Rename Refactoring with
F2
in both files:
With the same code, the "Rename Refactoring" doesn't work in HTML language.
abdonrd, jorgecasar, bennypowers, GeoloeG-IsT, TimvdLippe and 9 more
Metadata
Metadata
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieshtmlHTML support issuesHTML support issuesjavascriptJavaScript support issuesJavaScript support issueskeepIssues we should not close as out of scopeIssues we should not close as out of scope