mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

[Code Action] Move symbol to folder following namespace convention #299

Open ravero opened 3 years ago

ravero commented 3 years ago

Moving classes/interfaces/structs and enums around is a very common task. What bothers me is that VSMac doesn't offer any means for moving those objects and automatically updated their namespace declaration and update the places that reference it to add any required using statements to avoid leaving broken code.

My suggestion is to add a code action to all those types of symbols to move the file to a existing or new folder on the current project, while automatically keeping track of the namespace and updating every reference.