-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.30.0] Rename ES6 object-property inside method-parameter not working #29029
Comments
I don't think this is a bug - we rename the name used within the class, but not the name used outside of it, since that's a separate symbol (though a destructuring operation ties them together). |
Like, this is so intentional that it's listed as a feature on the release announcement: https://code.visualstudio.com/updates/v1_30#_renames-handle-jsts-destructuring-properly |
Still happening in 1.30.1. Any news on this? |
Dupe of #29238? |
|
Thanks for the updates guys @justingrant @weswigham . Great it's changing! |
@justingrant I see the PR you are talking about is merged to master a while ago and this issue is closed, but in version 1.36.1 the result I get is still exactly the same as when I opened this issue, so so far I don't see any change. Do I perhaps need to change some setting to make this work as expected? [edit] Ah, my bad. I just in the commit message of the PR a setting has indeed been added. For future reference for people having the same issue:
|
After updating Vs Code to 1.30.0 renaming objects-properties used as method-parameters in an ES6 class don't rename as they should.
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: