We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Does this issue occur when all extensions are disabled?: Yes
I accidentally came across this bug. Although this is not valid JavaScript code but the way VS Code handles it is unexpected.
Steps to Reproduce:
.js
.ts
export default function a() {} export default function b() {}
Instead of the function we were trying to rename, the first default export gets renamed.
The text was updated successfully, but these errors were encountered:
The code is invalid so I'm not sure there is a correct behavior for rename. In TS or with JS error reporting, you'll see
Sorry, something went wrong.
Yes. I just found it a bit strange. I would expect it to at least error with something like this:
Or... perhaps rename the actual function?
This issue has been marked as "Not a Defect" and has seen no recent activity. It has been automatically closed for house-keeping purposes.
No branches or pull requests
Does this issue occur when all extensions are disabled?: Yes
I accidentally came across this bug. Although this is not valid JavaScript code but the way VS Code handles it is unexpected.
Steps to Reproduce:
.js
/.ts
file.Instead of the function we were trying to rename, the first default export gets renamed.
The text was updated successfully, but these errors were encountered: