Rubberduck version information
Version 2.5.1.5736
OS: Microsoft Windows NT 10.0.18363.0, x64
Host Product: Microsoft Office x86
Host Version: 16.0.13801.20294
Host Executable: EXCEL.EXE
Description
Rename for other parent objects finds all references to the object and renames them. At the Project Rename it does not
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Foo.Bar would be rewritten as Fooooo.Bar and the project would compile.
Screenshots
If applicable, add screenshots to help explain your problem.
Logfile
RubberduckLog.txt
That would be it:
//TODO: Implement renaming references to the project in code.
private void RenameProject(RenameModel model, IRewriteSession rewriteSession)
{
var project = _projectsProvider.Project(model.Target.ProjectId);
if (project != null)
{
project.Name = model.NewName;
}
}