Search option: made easier "Whole word"

Hello,

I agree, Servoy isa great IDE but, can u please keep simple stuff… whell SIMPLE !
LIke searching for something:

If a developer has specific needs yes, do make tabs on Java Search, Java sript search and so on
But where is my plain and simple: search whole word only ???

This is implemented on every platform like say 25 jears or so :twisted:
So why is this not obvious in servoy? ( I can’t find it)

Pls, find attached a very simple dialog that has done the job for me in - yes, decades - whell at least 99% :o
So? is it just me or …

What is so complex in this dialog (via command-h/ctrl-h) ?

[attachment=0]Servoy Search Dialog.png[/attachment]
I love Servoy (it’s actually Eclipse) search. But that’s me.

Hello Robert,

Whell, so where in this dialog can i set [Find whole word only] ? ( or something equivalent…)
Regards, Jan

Hi Jan,

Ah yes, you can only do that in the current editor via command-f/ctrl-f. Not over all files, unless you use regex I guess.
Do you need it over all files ?

Yes I DO!

Do you never want to know, 'did i accidentally assign a var twice? ’ or something like that…

I often go thru files with search option [Whole word Only] and /or search for string: “myvar =” - YES in all files :mrgreen:
How to make this happen in Servoy

e.g i want to find: ‘MYCAPITAL’ not MYCAPITALsomethingElse, in all files, what do u suggest?
Kind regards, Jan

Hi Jan,

Then check the Regular Expression checkbox and wrap your search criteria in a \b. So searching for MYCAPITAL you would enter \bMYCAPITAL\b.
This searches for a whole word only.

Hope this helps.

It does,

Thanks for the help Robert,

Maybe until next camp :-)