Search option: made easier "Whole word"

Discuss all feature requests you have for a new Servoy versions here. Make sure to be clear about what you want, provide an example and indicate how important the feature is for you

Search option: made easier "Whole word"

Postby JvNoort » Mon Dec 19, 2011 2:44 pm

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 ....
Attachments
simple_find.jpg
Simple find dialog
simple_find.jpg (42.24 KiB) Viewed 7896 times
JvNoort
 
Posts: 42
Joined: Wed Jul 27, 2011 11:43 am
Location: Leiden, the Netherlands

Re: Search option: made easier "Whole word"

Postby ROCLASI » Mon Dec 19, 2011 3:00 pm

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

Servoy Search Dialog.png
Servoy Search Dialog.png (57.09 KiB) Viewed 7892 times

I love Servoy (it's actually Eclipse) search. But that's me.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Search option: made easier "Whole word"

Postby JvNoort » Mon Dec 19, 2011 3:04 pm

Hello Robert,

Whell, so where in this dialog can i set [Find whole word only] ? ( or something equivalent..)
Regards, Jan
JvNoort
 
Posts: 42
Joined: Wed Jul 27, 2011 11:43 am
Location: Leiden, the Netherlands

Re: Search option: made easier "Whole word"

Postby ROCLASI » Mon Dec 19, 2011 3:11 pm

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 ?
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Search option: made easier "Whole word"

Postby JvNoort » Mon Dec 19, 2011 3:24 pm

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
JvNoort
 
Posts: 42
Joined: Wed Jul 27, 2011 11:43 am
Location: Leiden, the Netherlands

Re: Search option: made easier "Whole word"

Postby ROCLASI » Mon Dec 19, 2011 3:34 pm

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.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Search option: made easier "Whole word"

Postby JvNoort » Mon Dec 19, 2011 6:31 pm

It does,

Thanks for the help Robert,

Maybe until next camp :-)
JvNoort
 
Posts: 42
Joined: Wed Jul 27, 2011 11:43 am
Location: Leiden, the Netherlands


Return to Discuss Feature Requests

Who is online

Users browsing this forum: No registered users and 11 guests