Jump to content
  • Advertisement
Sign in to follow this  
oliii

Visual Studio 9 search results steal keyboard focus

This topic is 2136 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Just something that annoys me mildly.

I may start a 'find in files' search, which will take a while, and then I'll be doing some other stuff in the editor window in the meanwhile, and all the sudden the focus shifts to the Find Window when the search completes. Any way to stop VS doing that? I didn't find any options in the tools-> options menu, maybe someone who is equally crossed with this found a way to stop this frankly pointless behaviour.

Share this post


Link to post
Share on other sites
Advertisement

  1. Disassemble it to find the offending bytecode.
  2. Terminate with extreme prejudice.
  3. Weep because you must now reinstall.

Which version of VS are you talking about? I know what you mean, btw. I have one app that's constantly grabbing focus anytime it thinks something interesting has happened. It's really probably the most annoying thing a program can do apart from ctd.

Share this post


Link to post
Share on other sites
I just hit the ESC key when it steals focus, and focus returns to the text editor pane.

It's very odd that your searches take any time at all. Do you have regular expression matching enabled? Even on my 2500 file project, it takes less than a second to do a full project text search because the recently used files are cached in memory by the operating system.

Share this post


Link to post
Share on other sites
VS is full of annoying workflow-hurting bugs like that. Seems like the folks that designed the UI didn't actually use it themsevles (or they aren't programmers).

As for searches being quick: at least when using C#, searches in VS appear to be CPU-bound instead of IO-bound. Crazy! A findstr from the cmd line will search all the files in an instant, but VS's find will take several seconds.

Share this post


Link to post
Share on other sites
That's on a 3-million-lines-of-code project, so it takes a while to do anything, especially on a dual-core Xeon sad.png

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!