- Jun 6, 2020
- 11,559
- 4,422
The 'Find All References' feature is extremely useful to track vars/Subs usages inside and across modules, specially in large projects. However, I find it could be more intuitive and user-friendly.
1. The way the results are sorted inside a module is not its 'natural' order inside that module.
At least for me, it is not very intuitive. Seems that it is first sorted by the name of the Sub where it appears and then by the appearances of the tracked var inside that Sub.
For me, the right way would be to sort them inside each module by the line number where they appear. So, if I go from top to bottom of the resulting list I'll also go from top to bottom 'appearance' of that var in each module where it is contained.
For instance, I want to track my 'devicesSeen' variable, which appears in several modules.
the order in which 'devicesSeen' appears in the first module is not its natural order inside that module. For instance, line 6
B4X:
...
1. The way the results are sorted inside a module is not its 'natural' order inside that module.
At least for me, it is not very intuitive. Seems that it is first sorted by the name of the Sub where it appears and then by the appearances of the tracked var inside that Sub.
For me, the right way would be to sort them inside each module by the line number where they appear. So, if I go from top to bottom of the resulting list I'll also go from top to bottom 'appearance' of that var in each module where it is contained.
For instance, I want to track my 'devicesSeen' variable, which appears in several modules.
برای دیدن تصاویر باید ثبت نام کنید
the order in which 'devicesSeen' appears in the first module is not its natural order inside that module. For instance, line 6
B4X:
Dim devicesSeen as Map
...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید