Skip to content

"Find All References" no longer works on members from the "Code Explorer" #5761

Closed
@pchemguy

Description

@pchemguy

Rubberduck version information
Version 2.5.2.5906
OS: Microsoft Windows NT 6.2.9200.0, x64
Host Product: Microsoft Office XP x86
Host Version: 10.0.6501
Host Executable: EXCEL.EXE

Description
"Find All References" only works on modules but stopped working on members from the "Code Explorer" (it works fine on RD 2.5.2.5871 and stops working on 2.5.2.5878). The feature works fine when called from the "Code Pane" context menu.

To Reproduce
SQLiteDB.xls
Steps to reproduce the behavior:

  1. Go to 'Code Explorer'
  2. DoubleClick on 'SQLiteDB.Introspection.SQLiteSQLEngineInfo.CompileOptions'
  3. RightClick on "CompileOptions" in Code Explorer, Find->Find All References.
  4. Nothing happens
    If the same feature is called from the Code Pane context menu or from the menu bar, two references are found.

Expected behavior
Should find two references.

Screenshots
Should show this:
RDVBA

Logfile
RubberduckLog.txt
Log error:
2021-05-05 02:58:16.0941;ERROR-2.5.2.5906;Rubberduck.UI.CodeExplorer.Commands.CodeExplorerFindAllReferencesCommand;The specified ICodeExplorerNode expected to be a direct child of a node whose declaration is a ProjectDeclaration.;

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugIdentifies work items for known bugs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions