Move/Add all source file elements to a namespace

Hello,
I’m trying to write a small plugin to force adding namespace to a file and include all the elements within (using movenamespace helper), which mostly works except the part where ‘moving’ the elements do not invoke a refactor/update on all of its previous references. If any anyone would be kind enough to share a snippet with me how to achieve this or what I could be missing.

Thanks

Please sign in to leave a comment.