Moving typescript files to another directory does not update references
Using Rider on mainly TypeScript monorepo, (but one C# project, that's why I use Rider).
Was told that Rider includes WebStorm, but when I moved files around in WebStorm, I got a refactor dialog offering to search and chang references, strings, comments etcetera, but that doesn't happen if I open my project in Rider.
I'm probably doing something wrong, but what?
Please sign in to leave a comment.
Your first step should be to check under settings->Language And Frameworks->TypeScript and ensure it is configured correctly.
Having used a few of the Jetbrain IDEs I can unequivocally say they each have nuances, but I would assume in Rider you have to do it the way Rider refactors things, for example to move something right click it, choose Refactor This->Move.
I don't do TypeScript but I did find this:
https://www.jetbrains.com/help/rider/Specific_TypeScript_Refactorings.html
Thanks for making me aware that IDE's have their own perception on how to refactor. Unfortunately there is no Move option for TypeScript files. In the mean time (since I work mostly on TS anyway) I moved back to WebStorm, and am using Rider only when working on C# files.
Hello!
The issue here is that update references upon move are not working in Rider at the moment: RIDER-36097. It is very important for you to upvote it in order to bring increased awareness to the issue. Also, please click to Watch it for monitoring the progress. Don't hesitate to let me know if there is anything else I could help you with.
Have a great day!
May 2023 and it is still in the same state, the problem is that in the land page of rider product they claim that rider is a first class citicen and the only IDE to support fullstack development, and it is not true
Hello Jperezruiz193,
Your concern is totally understandable and it is unfortunate for you to experience these difficulties. At the moment we have no clear plans to implement RIDER-36097, but feel free to follow the issue for any updates.
We genuinely appreciate your understanding and patience in this matter. If you have any further questions or feedback, please don't hesitate to reach out. We're here to assist you in any way we can.
Thank you for understanding.
Hi Anna, thank you for reaching, apologies but I don't understand and I don't have patience, herehttps://www.jetbrains.com/lp/rider-web/
"Rider is currently the only IDE that makes full-stack development a breeze. Both C# and TypeScript feel like first-class citizens, which takes away the need to switch between multiple IDEs to get the job done"
"Rider works seamlessly with Node.js, React, Angular, and Vue.js, integrates with frontend testing frameworks and package managers such as NPM and Yarn, and supports IIS and IIS Express"
That is not true if something that makes an IDE worth paying is not available, Rider is not capable of handling frontend projects with web technologies. Yesterday I discover that using rename from the file tree in rider doesn't update references, it does if using a command from the actions search, so Rider is in fact capable, but for some reason the action is not available directly in the project structure, why?
Hello Jperezruiz193,
This behavior though seems not seems right. Can we investigate it a little further? Is it possible to take a screen-recording of the exact reproduction of the issue?
Thank you so much in advance!