Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Completion in Search/Replace window
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Mar 09 2023 :  11:32:33 AM  Show Profile  Reply with Quote
The new VS2022 search and replace dialog is all good and useful, but I really would like to have completion functionality in the edit fields. From what I read, this window is extendable or so, maybe not even that much work to plug that in there.

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Mar 09 2023 :  1:42:30 PM  Show Profile  Reply with Quote
Just to be sure, do you mean the small one that docks in the top right hand corner of the editor window, Ctrl+H for me:

IDE Edit menu -> Find and Replace -> Quick Replace

or the floating dialog, Ctrl+Shift+H for me

IDE Edit menu -> Find and Replace -> Replace in Files

I am assuming a listbox as if you were typing on a blank line at the current scope would work well enough.

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2320 Posts

Posted - Mar 10 2023 :  04:20:51 AM  Show Profile  Reply with Quote
Both are useful. A listbox while typing would be great, maybe even as an option to enable, like the existing "whole word", "Aa" and RegEx options.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Mar 10 2023 :  07:10:20 AM  Show Profile  Reply with Quote
I am wondering if this should be something you trigger, perhaps with CTRL-SPACE, since I know a lot of the time I am not searching for a whole symbol when I use the find box. I am either searching for part of a symbol name, or a word I expect to be in a string or a comment. Obviously VA won't be much use with that.

It turns out this idea has come up once before:

case=142137

zen is the art of being at one with the two'ness
Go to Top of Page

superzmy
Junior Member

China
17 Posts

Posted - Mar 23 2023 :  12:12:01 AM  Show Profile  Reply with Quote
you can use :anythingYouWant: to search a complite word.
search :find: and you will not get function find_if.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Mar 23 2023 :  06:57:24 AM  Show Profile  Reply with Quote
This doesn't work in VS2022 in the CTRL-F dialog for me. I have tried with and without regular expression searching.

In Visual Studio Find regular expression syntax, which is different to other regular expression syntax, \b is the marker for the start or end of a word.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000