-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Suggestion: QuickFix for renaming afterwards, instead pressing F2 before rename. #90361
Comments
(Experimental duplicate detection) |
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
related to #88424 |
Maybe my english is not good enough (i am not a native english speaker), but my suggestion has in no way anything in common with either Issue 87853 nor with Issue 88424. At least, as far as i can see. |
@mbodm 87853 was suggested by the bot but is irrelevant. As I understand 88424 its idea of synced regions would provide a foundation for rename to be triggered by editing, without having to use F2. |
My suggestion is not about a direct change of all occurences of a variable name, when renaming that variable (while typing). Its about changing the name of a variable at the definition of that variable, lets say from Did none of you ever used Visual Studio 2013, 2015 or 2019 ? Or Rider ? Or Android Studio ? Or whatever. They all use this feature. Do not get it. |
Hmm, not to be salty here, but it seems there is less hope for a standard feature, every halfway modern development IDE has since years, when even a member of the VS Code development team (at least it seems @jrieken is one of them) thinks this suggestion is related to a totally another issue/suggestion. I assume (because it is a standard feature) there are a lot of ppl out there would like to see this quick action added. But none of these ppl ever find suggestions like this, or use the issues at all. And since this suggestion will become either closed (because not even 20 upvotes will be reached), or lands in the backlog for ages, and obviously the devs not feel this feature as needed (otherwise it would exist since years), i assume this suggestion will dive into the shadows. :-/ Do not get the mindset of VS Code (or the team behind it) here at all. Maybe a technical aspect, but when i look at what VS Code is able to do, with quick actions and JS, i think it is more a design-, mind-, or taste-thing, than a technical hurdle or difficult to implement. Of course, JS is not a type safe language like C#, where stuff in that regards is way more easy. But i think it is not that complex, when you have a F2 rename feature, to implement the same thing, as quick action, after renaming of a variable. On the other side, i also not understand the state of the VS Code team in the slightest, when it comes down to the issues about the VS Code problem in Node.js projects, to mark the first (commonJS) PS: Hi @jrieken, i think you are just around 70 KM beeline away from here. So best regards to Wallisellen. :-) |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding |
Please introduce renaming of variables AFTER we renamed a variable, via QuickFix, like VS do.
Having in mind to always press F2 first, to rename, is horrible. Changing a name of a variable and say "reflect that to all uses of that variables" AFTERWARDS, is imo 100 times better.
And nearly every modern IDE has this feature.
The text was updated successfully, but these errors were encountered: