Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How to modify the builtin find control (ctrl + F)

$
0
0

Hi,

I have a requirement to implement a VS Extension to implement the following.

"Find control" that has all features of the current Find plus the following options

1) Checkbox option to ignore whitespace:

                e.g. finding “myvar=” will find the following:

                                myvar      =    4

                                myvar=0

                                myvar                                                                     =                              8

 2) Additional checkbox option to find things only if outside comments

                e.g if turned on, finding “myvar” would look for the first 2 lines but not the last 2 lines

                                myVar = 1;

                                CallFunc(myVar);

                          

                                // myVar = 0;

                                /* myVar is a deep copy of …. */

I know these can be achieved by using RegEx in the existing find control, But the idea is to make it easy for any user, who has not much RegEx knowledge.

Can you please let me know any pointers to start with?

Thanks,

Nilanga



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>