Find Usage
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Find Usage
Find Usage or Find References (in current script or in all project).
- Will Fastie
- Posts: 160
- Joined: Mon Jan 31, 2005 6:47 pm
- Location: Timonium, MD USA
- Contact:
-
- Posts: 25
- Joined: Mon Sep 21, 2015 9:54 am
Re: Find Usage
that is very slow. for me it takes about 1 minute to search my project (~1000 php script files)Will Fastie wrote:Can't you just search?
Re: Find Usage
Are you serious?Will Fastie wrote:Can't you just search?
- Will Fastie
- Posts: 160
- Joined: Mon Jan 31, 2005 6:47 pm
- Location: Timonium, MD USA
- Contact:
Re: Find Usage
Yes, I am serious, because I don't think Rapid has enough metadata on a project to do what you suggest. I think it takes note of definitions but not usage (I could be wrong about that). That's why it can find a definition instantly.pety wrote:Are you serious?
As an experiment, I searched my current project with Rapid PHP 2018, finding 12 instances in just over 1,200 PHP files in 11 seconds. The project is on an SSD, so that may have helped. In the tool I was previously using, that same search took 82 seconds but that tool can't limit the search to just PHP files and thus looked at all 2,473 files.
I'm also serious because in my experience looking for instances is rare. I only do it if I am anticipating a change (such as modifying the arguments of a function or method) or trying to scale a potential change (so many instances that I might not want to take on the change at that moment). If I have to wait a minute to get the results, it's time well spent.
I'm not suggesting that your idea is bad, just that search is a reasonable alternative.
Will
WebDesignBuild.biz, Fastie.com
WebDesignBuild.biz, Fastie.com
Re: Find Usage
Did you try Visual Studio Code -> Find All References (Shift+F12) ?
The idea is the very, very fast navigation in code.
You get in the same window all references, from all the scripts at an incredible speed.
You cannot have this in RapidPHP. Just try it in VSCode.
There are new ways for modern developing.
I am not against old habits. I just like the better methods.
https://code.visualstudio.com/assets/do ... rences.gif

The idea is the very, very fast navigation in code.
You get in the same window all references, from all the scripts at an incredible speed.
You cannot have this in RapidPHP. Just try it in VSCode.
There are new ways for modern developing.
I am not against old habits. I just like the better methods.
https://code.visualstudio.com/assets/do ... rences.gif

- Will Fastie
- Posts: 160
- Joined: Mon Jan 31, 2005 6:47 pm
- Location: Timonium, MD USA
- Contact:
Re: Find Usage
I'm aware.pety wrote:Did you try Visual Studio Code -> Find All References (Shift+F12) ?]
I'm also aware that VS Code is inferior to Rapid PHP when it comes to PHP development. If VS Code for PHP was better than Blumentals, I'd be using it instead, in a heartbeat. I know this because before I bought Rapid I evaluated VS Code and Atom and a bunch of other stuff, including PhpStorm. I started that evaluation almost a year ago and VS Code is no better with PHP today than it was then. Whatever it can do with PHP comes from extensions; Microsoft put its energy into Python (to limited effect - most Python developers I know use PyCharm).
Of course, I did all my evaluation in the context of PHP. Everything else is secondary. Your priorities may be different.
Will
WebDesignBuild.biz, Fastie.com
WebDesignBuild.biz, Fastie.com
Re: Find Usage
I am not talking about superiority vs inferiority.
Just try Find all reference in VSCode now.
You will understand what I am talking about.
Otherwise you say nothing.
VSCode 1.24 is better than the version you tested in past.
Just try Find all reference in VSCode now.
You will understand what I am talking about.
Otherwise you say nothing.
VSCode 1.24 is better than the version you tested in past.
Re: Find Usage
By the way i use Webuilder daily for small projects in PHP.
Re: Find Usage
I would like more improvements for RapidPHP (Webuilder) becouse I like it and use it.
That's why I do not talk about superiority and software comparing.
But I have to admit that some functionalities from other softare I like to be implemented here.
If it is possible ok, if it is not, that's it.
That's why I do not talk about superiority and software comparing.
But I have to admit that some functionalities from other softare I like to be implemented here.
If it is possible ok, if it is not, that's it.
- Will Fastie
- Posts: 160
- Joined: Mon Jan 31, 2005 6:47 pm
- Location: Timonium, MD USA
- Contact:
Re: Find Usage
That doesn't sound very friendly.pety wrote:Otherwise you say nothing.
I am working on a review of Rapid PHP 2018, to be published at my Web site. Toward that end, I took a look at VS Code 1.24 about ten days ago. Nothing I saw changed my opinion and I stand by my conclusion that not much has changed for PHP in VS Code since last year.pety wrote:VSCode 1.24 is better than the version you tested in past.
Do not assume that I dislike VS Code. I find it extremely interesting and I pay close attention to it. But my daily work is with PHP and VS Code cannot help me enough. If my choice was between my previous tool (Microsoft Expression Web) and VS Code for PHP, I would choose Expression Web. Fortunately, there is Rapid PHP.
All developers seek tools that improve their productivity and efficiency. At the same time, it's extremely difficult (and possibly expensive) to use several tools in order to have all the best features available. I would not necessarily call Rapid PHP superior to VS Code in a general sense but in the sense that Rapid helps me be more productive with PHP than VS Code, I do. I think that is entirely fair and that comparing tools is completely rational.pety wrote:I am not talking about superiority vs inferiority.
None of this changes the fact that your idea is a good one. I, too, would like Rapid PHP to gain important features that other products already have.
Will
WebDesignBuild.biz, Fastie.com
WebDesignBuild.biz, Fastie.com
Re: Find Usage
Fastie, did you try that cHaracteristic (functionality> Find all references)?
If not you cannot understand what I say. Period.
I am not sure you can configure VSCode
as PHP IDE.
No offense !
If not you cannot understand what I say. Period.
I am not sure you can configure VSCode

No offense !
- Will Fastie
- Posts: 160
- Joined: Mon Jan 31, 2005 6:47 pm
- Location: Timonium, MD USA
- Contact:
Re: Find Usage
Pety, yes, I did. I tried all the "find" features. As I say, I've been following VS Code for years.pety wrote:Fastie, did you try that characteristic (functionality> Find all references)?
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.pety wrote:If not you cannot understand what I say. Period.
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
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.
Will
WebDesignBuild.biz, Fastie.com
WebDesignBuild.biz, Fastie.com
Re: Find Usage
I appreciate your expertise. Really, I do.
Did you see how easy and fast navigate with VSCode through references?
And all references are open and see the code.
If you remember, that is what I would like to have.
Did you see how easy and fast navigate with VSCode through references?
And all references are open and see the code.
If you remember, that is what I would like to have.
Re: Find Usage
And VSCode memorize entire code portion of all references.