You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jjmew
Similar issue #5372 In here there are some comments saying that in CPS we need some medatada in folders.
In CPS we handle part of the file move in:
namespace Microsoft.VisualStudio.ProjectSystem.VS.Implementation.Package.ProjectNode
But this place looks generic for the specific case when FileMove to rename namespace.
Another place is DocumentManager.cs after RenameDocument()
@ryzngard What is expected in the Ux ?
should we ask the user if he wants to rename the namespace using a dialog box [yes/no] ?
The namespace rename should be something offered/handled by codefixes ?
There is already a dialog box, this is not handled by cps. Not sure about adding another dialog box to ask the namespace rename.
It seems this should be handled in Donet ProjectSystem, and get a notification after the move was successfully applied.
If we add the option as a checkbox to this dialog (default checked) that might be good. The downside is I think we'd want to remove the "Never prompt before moving files to a new location" option in the dialog, since we're attaching some action to it now instead of just letting the user know information.
If the user drags and drops a file inside the project, we should offer to move the types in the file to the new namespace. Example:
Project/Foo/Bar.cs
(contains typeFoo.Bar
) ->Project/Baz/Bar.cs
(prompt to moveFoo.Bar
toBaz.Bar
)The text was updated successfully, but these errors were encountered: