FileNesting icon indicating copy to clipboard operation
FileNesting copied to clipboard

Cannot rename nested files

Open thetallweeks opened this issue 11 years ago • 5 comments

I am able to rename the outermost file, but I cannot rename any of its children. Here are screenshots to illustrate:

image

You can see that the child file is not able to nest.

image

thetallweeks avatar Jun 04 '14 23:06 thetallweeks

It's not supported by the project system in VS. I'm not sure on how to fix this

madskristensen avatar Sep 15 '14 23:09 madskristensen

To tackle this one. What if it un-nested the child file, renamed it, and nested again?

clement911 avatar Sep 18 '14 20:09 clement911

That's not the approach. The right approach is to exclude from project and then add it under the correct parent. There are no APIs for that I could find

madskristensen avatar Sep 18 '14 21:09 madskristensen

ReSharper actually manages to do it with their "Rename" refactoring; I don't know what kind of trick or workaround they may be using, though.

TeaDrivenDev avatar Feb 09 '15 13:02 TeaDrivenDev

@madskristensen commented on 18 wrz 2014, 23:56 CEST:

That's not the approach. The right approach is to exclude from project and then add it under the correct parent. There are no APIs for that I could find

If it is not possible, why not use workaround with un-nest, rename, then nest?

SylwesterZarebski avatar Jul 30 '19 11:07 SylwesterZarebski