Rubberduck
Rubberduck copied to clipboard
Renaming a project causes it to disappear from Code Explorer
Rubberduck version information Version 2.5.2.0 OS: Microsoft Windows NT 10.0.19042.0, x64 Host Product: Microsoft Office 2016 x64 Host Version: 16.0.4266.1001 Host Executable: EXCEL.EXE
Description Renaming a project causes it to disappear from Code Explorer.
To Reproduce Steps to reproduce the behavior:
- Open a VBA project (excel workbook, access DB, etc..).
- Open IDE and parse.
- Menu at top Tools -> <ProjectName> Properties...
- Rename the project and accept with OK.
- RD will parse and the project will no longer be displayed in Code Explorer.
Expected behavior The renamed project display in Code Explorer.
Additional context Only way I've found to have it display is to save the project, close it, reopen.
@IvenBach clicking refresh again works for me, but agree it shouldn't be required
Edit: I am doing a refactor rename from RD project explorer, so maybe it's different. But I still get "Ducky hasn't parsed anything yet" message in project explorer after the rename, even when I rename through Rubberduck - until the second refresh when it's fine.