john-tvh / VBE_Extras

VBE Extras ... extending the VBA editor
https://www.thevbahelp.com/vbe-extras
1 stars 0 forks source link

References of a variable or static following the 'Is' keyword are not found #5

Closed john-tvh closed 2 years ago

john-tvh commented 2 years ago

Describe the bug References of a variable or static following the 'Is' keyword are not found

To Reproduce Steps to reproduce the behavior:

  1. In example code below, put cursor on the declaration for obj
  2. Click on 'References for code at cursor'
  3. The declaration is found, the reference following the 'Is' keyword is not found
Dim oExcel As Application
Dim obj As Object
If oExcel Is obj Then
    ' stuff
End If

Expected behavior Both references should be found

Please complete the following information: VBE_Extras v1.1.2.1, build 8 Sep 2022 12:24:52 LGF: v2.0.3.0 LGS: v2.3.2.0 LFF: v3.5.4.0 .NET Framework 4.8.4515.0 CLR: v4.0.30319 Microsoft Windows 10.0.19043 : X64 Debugger attached Dev device Excel 365 (16.0, 15427, WIN64, VBA7) VBE 7.01 UI Lang: en-US Host: EXCEL.EXE v16.0.15427.20210

john-tvh commented 2 years ago

Fixed in release 1.3.0.0