Posts Tagged eclipse
How to avoid auto horizontal scrolling in Eclipse
Windows Vista/7 have introduced a new feature called dynamic multi-dimensional scrolling. I’ve found it pretty annoying as a developer when the full path of code files can be quite long in which it triggers the auto horizontal scrolling in eclipse.
Couple of months ago, I’ve found a work around to disable this feature in Windows 7.
The trick was to change the Compatibility Mode for eclipse.exe to Windows XP.

*Note: If you don’t want to apply the compatibility change all the time. You may create a Windows shortcut to eclipse.exe, and apply the compatibility update on the shortcut file.
VS 2008 File Finder with Wildcard Character Search
I’ve been working with Eclipse for almost too long. The Open Resource window has been a very convenient tool to me. After doing some quick googling, I’ve found that there’s a VS plugin written by Steve Huff that does almost the same thing as Eclipse’s Open Resource Window. It works very smooth and very easy to install! Please check out the official website here: http://www.huffs.us/blogEngine/page/VS-2008-File-Finder.aspx
The only one thing I also want in this File Finder plugin is the Wildcard Search function. So I’ve downloaded the code and made some simple adjustments.
The changes are made in the ProjectItemFinder.vb class:

The highlighted code was added by me. It’s for calling a new method which is similar to the existing MatchString function.

This new method WildcardMatchString simply uses the Like function to do wildcard character match.
Now VS 2008 File Finder now supports Wildcard search!!!

I would not post the new compiled plugin library here while I’m not the originally author. If you’d like to use File Finder with Wildcard Character Search like me, please download the source code from Steve Huff’s website and make the small modifications described above.