pety wrote:Fastie, did you try that characteristic (functionality> Find all references)?
Pety, yes, I did. I tried all the "find" features. As I say, I've been following VS Code for years.
pety wrote:If not you cannot understand what I say. Period.
I understood completely. I studied Computer Science at university with a focus on programming languages, I have used 35 different programming languages and over 100 tools/IDEs during my career, and I have 50 years of experience. I understood.
I tried a pathological case, looking for all references to one of my core PHP functions, tagDIV. I say "pathological" because the function is called a lot (as you can no doubt guess). Results:
- VS Code 1.24 - find all references - found 451 references in 13 seconds
- Rapid PHP 2018 (15.1.0.203) - find in files - found 558 in 11 seconds
The discrepancy is due to the fact the Rapid found the string "tagDIV" even when it was not a reference, for example in a comment or a line of code that had been commented out. VS Code missed all of those instances, for obvious reasons. I can confirm that 558 is the right number because my old tool, Expression Web, found that exact number (but in 70 seconds).
VS Code is quick when the number of references is low but no faster than search when the number is high.
In the interest of fairness, I tried Find in Files in VS Code. It found all 558 instances in less than 5 seconds.