Improve the type/method name search algorithm

Post DPack feature requests here.

Moderator: Sergey

Improve the type/method name search algorithm

Postby joshnorton » October 21st, 2013, 3:50 pm

Situation:
I have two similarly named camel case types:
- SomeTypeOne
- SomeTypeOther

Problem:
Using the solution browser to locate just one of these types requires me to either:
1) type almost the full type name until I have a unique match (SomeTypeOn or SomeTypeOt), or
2) type the upper cased letters (STO) and use the arrow keys to pick which one I wanted (which also means I have to wait for the search to complete before I can arrow down to the one I want).

suggestion:
Allow me to combine both type name matching methods by letting me search using a strings such as the following:
- STOne (matches SomeTypeOne)
- STOther (matches SomeTypeOther)

or given other type names 'SomeTerribleTypeName', 'SomeTestedTypeName', and 'SomeTwistedTypeName':
- STerTN (matches SomeTerribleTypeName)
- STesTN (matches SomeTestedTypeName)
- STwTN (matches SomeTwistedTypeName)

Regards,
Josh
joshnorton
Senior Member
 
Posts: 39
Joined: January 23rd, 2009, 4:05 am

Re: Improve the type/method name search algorithm

Postby Sergey » October 24th, 2013, 10:15 pm

Hi Josh,

Sorry for a delay. I've been sitting on it for a few days now. Double checked it against R# and they do the search just like you suggested. I'm gonna see if I can add it for the upcoming version while it's still in beta. Need to be careful not to introduce any performance issues with a more complicated search though.

Thanks for your suggestion.
Sergey @ USysWare
User avatar
Sergey
Moderator
 
Posts: 590
Joined: May 27th, 2005, 3:56 pm
Location: Alexandria, VA

Re: Improve the type/method name search algorithm

Postby joshnorton » October 24th, 2013, 11:44 pm

Thanks for looking into it. If it slows things down too much it's not really a biggie if you leave it out. It's just one of those small things that I got used to with R# and miss from time to time. I uninstalled R# precicesly because it slows down VS too much, so I'm pleased to see you consider performance a priority.

Any idea when you'll have a version of DPack out for VS 2013 RTM? I can't install the 3.8.1 (Beta 1) you've got up because it complains that the version of the .net 4.5 framework it needs is not installed: "Microsoft .NET Framework v4.5.50861 or v4.5.51641 must be installed on your computer first." VS 2013 RTM (12.0.21005.1) tells me that I have .Net 4.5.50938 installed.
joshnorton
Senior Member
 
Posts: 39
Joined: January 23rd, 2009, 4:05 am

Re: Improve the type/method name search algorithm

Postby Sergey » October 25th, 2013, 8:49 am

Should have an RTM compatible version posted over the weekend. Thanks.
Sergey @ USysWare
User avatar
Sergey
Moderator
 
Posts: 590
Joined: May 27th, 2005, 3:56 pm
Location: Alexandria, VA

Re: Improve the type/method name search algorithm

Postby Sergey » January 5th, 2014, 6:38 pm

Josh,

I've gotten half way through implementing it but didn't get a chance to finish it or test it extensively for that matter. So, I pulled it out of the latest release that went out today. I'll try wrapping it up for the next release.

Thought I'd let you know. Thanks.
Sergey @ USysWare
User avatar
Sergey
Moderator
 
Posts: 590
Joined: May 27th, 2005, 3:56 pm
Location: Alexandria, VA

Re: Improve the type/method name search algorithm

Postby joshnorton » January 5th, 2014, 7:05 pm

Thanks for the update.

BTW: The last 3.8.1 Beta you provided seems to have fixed the solution load problems I was having. I didn't really get a chance to test that extensively though as I went on holiday over the christmas period.
joshnorton
Senior Member
 
Posts: 39
Joined: January 23rd, 2009, 4:05 am

Re: Improve the type/method name search algorithm

Postby Sergey » January 5th, 2014, 7:10 pm

Great. Thanks for letting me know.
Sergey @ USysWare
User avatar
Sergey
Moderator
 
Posts: 590
Joined: May 27th, 2005, 3:56 pm
Location: Alexandria, VA


Return to DPack Wish List

Who is online

Users browsing this forum: No registered users and 2 guests

cron