Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7528681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:26:56+00:00 2026-05-30T04:26:56+00:00

I find myself spending an extra 2 seconds about 100 times a day switching

  • 0

I find myself spending an extra 2 seconds about 100 times a day switching between ‘Current Document’ and ‘Current Project’ (or ‘Current Solution’) in the VS2010 ‘Find and Replace’ box. ‘Look in’ always contains whatever was selected last.

Is there an existing shortcut for this or a way to build a shortcut that will allow you pre-select options?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:26:58+00:00Added an answer on May 30, 2026 at 4:26 am

    You can use a macro to do this, and then maybe assign the macro to a key combo.

    To test this, go to:
    -Tools > Macro > Record Temporary Macro.

    -Then do your find, selecting the desired ‘Look In’ option.

    -Hit stop to end the recording.

    You can save the temporary macro, and view it in the Macro Explorer. (Right Click > Edit to see the code).

    It should look something like:

      DTE.ExecuteCommand("Edit.Find")
      DTE.Find.Target = vsFindTarget.vsFindTargetCurrentProject
    

    You can change the last line to set the target to wherever you want it to look.

    Repeat for each of your desired ‘Look In’ targets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I find myself revisit areas of my project and refine them again. This usually
When I'm writing shell scripts, I often find myself spending most of my time
I'm somewhat new to C/C++, and I find myself spending exorbitant amounts of time
new day, new problems. Somehow I find myself asking questions here almost every day,
I'm learning Java and find myself sending methods around while asking for help but
I find myself typing import numpy as np almost every single time I fire
I find myself often having to reposition subviews of a view after hiding or
I find myself creating Converters often and would like to be able to: right-click
I find myself using Resharper's convert to auto property refactoring a lot to remove
I find myself doing this repeatedy. $jq(button).filter(function(){ return this.id.match(/^user_(\d+)_edit$/); }).click(function(){ var matches = this.id.match(/^user_(\d+)_edit$/);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.