"Replace" vs. "Replace and find next" in Visual Studio 2013 Professional

Hello,
Sometimes, when doing a large/risky replacement, I would like to find a hit, do a single replacement, inspect the replacement, then find the next hit, do a single replacement, inspect the replacement, and so on, before finally
doing ‘Replace All’. Visual Studio seems to find the next hit immediately after executing the current replacement. Is there a way to change this default behaviour? It would be a really nice feature.
I have looked in Options > Environment > Find and Replace, but the options listed are not relevant to my requirement.
Many thanks.
Keith
R K Howard

Nope.  You can't do exactly that.
There are alternative approaches though.
ONE
If you use the Replace In Files feature (Ctrl+Shift+H) you can select the scope of your find to be Current Document (or whatever is appropriate for you) and make use of the Result options to List results in a find results window.  Do
a Replace All, and then you can curate your results individually by navigating through them in the find results window.  If you check "Keep modified files open after Replace All" then an undo operation on any modified file will restore
the effects of the replace all, should you need to back out of your changes.
The difference between this approach and your approach is that with my suggestion, all the replacements are made ahead of time, and it keeps a list of all such places that need to be reviewed.
This is my preferred approach.
TWO
If you use the Find All feature it places a reference to each location in the Find Results window. (Find all is chosen by clicking the dropdown arrow to the right of the Find Next button in the Find window -- no keyboard shortcut for this that I
know of.)  After each replacement you can click on the line you replaced and navigate back to it. If you're only going to do a few, this is a reasonable thing to do.
THREE
I don't usually find it too difficult to pre-visualize what the replacement will be.  I am curating the results before I do each replacement.  It selects the text for you so you can see
where the replacement will go.  I realize that it doesn't show you what the replacement will be for something like a backreference, but it's not usually too difficult to figure out, is it?
This might be the "suck it up" approach.
FOUR
Write an add-in.  It is possible, (although quite a bit of work), to augment Visual Studio in this way using a
VSPackage.

Similar Messages

  • "Microsoft Visual Studio 2013 Professional Stopped Working" When I'm Trying To Install

    So for a college class we were given a link to a visual studio exe file.  Visual Studio 2013 Professional Update 2.
    When I try to run the exe file it just gives a black rectangle for a few seconds with the visual studio logo on it then stops and gives the message I showed in the thread title. and it also says "A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is available.
    I have the 4.5.2 update.
    Can't figure out why I can't install it.
    Heres a link to the vslog:
    https://onedrive.live.com/redir?resid=E43E7310F1682778%21113
    Hopefully someone can solve this.

    Hi,
    I see your logs and find the main errors:
    Error 0x80070642: Failed to install MSI package.
    Error 0x80070642: Failed to execute MSI package.
    Error 0x80070642: Failed to configure per-machine MSI package.
    Failed to resolve source for file: C:\Users\Paul\Downloads\packages\professionallp\cab8.cab, error: 0x80070642.
    Error 0x80070642: UX aborted on download progress.
    Error 0x80070642: Failed to send progress from BITS job.
    Error 0x80070642: Failure while sending progress during BITS job modification.
    Error 0x80070642: Failed attempt to download URL: 'bits://go.microsoft.com/fwlink/?LinkId=318664&clcid=0x409' to: 'C:\Users\Paul\AppData\Local\Temp\{02a877fe-5dac-4ac0-b869-4b9da00f651c}\cab46316ED5168B23181115750DAC599E81'
    Error 0x80070103: Failed to find product code for given upgrade code.
    According these errors, It seems the issue was due to you are using a web installer and your installation source may be corrupted.
    You can download the latest Visual Studio Professional 2013 package now:
    http://www.microsoft.com/en-us/download/details.aspx?id=44916
    I recommend you can install the VS by ISO installer.
    •Choose this download link, and then choose the Save button.
    •After downloading the ISO file, you should use the
    File Checksum Integrity Verifier tool to calculate and verify that the SHA-1 value for this file matches the value listed on the
    Visual Studio 2013 ISO Files SHA-1 Values page.
    And after down load you should follow up these
    Installation Tips in the link to install your VS.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Can't uninstall Visual Studio 2013 Professional

    I installed the trial for Visual Studio 2013 Professional.  Now when i try to remove it I can't.  When I click on VS2013 in Programs and Features and select "Change" I get an error that says "Microsoft Visual Studio Professional
    2013 with Update 4 has stopped working.  A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available." and a Debug and Close Program button.  I have re-installed the
    program and it still does the same thing.  I can run VS2013 and I don't get any error when I open it.
    Is there any other way of uninstalling the program?
    Thanks!
    Patti Neavin

    Hello Patti Neavin,
    Have you tried to download a standalone installer and run it to uninstall? The installer may leave something in your OS so that it can use it to uninstall your setup. I think that package may corrupt. So if you tried to use a standalone installer which is
    alright, you may fix this problem.
    You may also try a tool from here
    https://support.microsoft.com/en-us/mats/program_install_and_uninstall?wa=wsignin1.0
    The tool said it is applied for Visual Studio 2010, however I got threads that some customer can also fix related issues by using this tool.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Having issues viewing interactive parameters and group tree in Visual Studio 2013 design view.

    Hey Guys,
    I'm a web developer (front end and back end, kind of a one man army sort of deal) and my current employer wishes to use crystal reports to display the results of the online survey apps/tools I have been working on for the last few months. However, I have been having trouble getting the reports to render in browser, and a lot of the ui components of the browser based report viewer (the interactive parameters and group tree) will not render properly in the design view of visual studio (ive attached a screen cap of what I'm talking about) or in the browser itself.
    I am new to crystal reports and its community and if I am leaving out any critical details or have posted in the incorrect section please inform me and I will make changes as necessary.
    Additional info:
    Visual studio version: 2013 professional (trial)
    Plugin version (exe file name): CRforVS_13_0_9.exe (I also installed the 64 bit run-time from this)
    Server and OS versions: IIS 7.5 on Microsoft Windows Server 2008 R2
    Any help you guys could provide would be greatly appreciated.
    Cheers,
    -Mike

    Hi Mike
    First thing you want to do is uninstall CRVS SP 9 and install CRVS SP 10. SP 10 is the first SP to support VS 2013.
    Once that is done, let us know if that helped any.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Unit Testing with Microsoft Sharepoint Emulators and Fakes with Visual Studio 2013

    Hi All,
    I have created Test Project and now creating Test cases for Sharepoint. I found a link on MSDN which suggests using Fakes framework but it supports VS2012 and I am using Visual Studio 2013.
    So how can I use it with VS2013 or is there any other way with which I can implement the Test cases with VS2013.
    Please suggest.
    Thanks in advance.
    Himanshu Nigam

    Hi HimanshuNigam,
    According to your descrition, my understanding is that you want to use Fakes framework to create test case for SharePoint project in Visual Studio 2013.
    If you want to test using Fakes Framework, you can use the codeplex extension to achieve it. It supports Visual Studio 2013.
    Here is a detailed article for your reference:
    Better Unit Testing with Microsoft Fakes
    About how to include the Nuget package, you can use the package with the link below:
    NuGet Package Manager for Visual Studio 2013
    Installing NuGet
    If you still have question about this issue, I suggest you can create a post in Visual Studio, more experts will help you and you can get more detailed information from there:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio%2Cvsarch%2Cvsdbg%2Cvstest%2Cvstfs%2Cvsdata%2Cvsappdev%2Cvisualbasic%2Cvisualcsharp%2Cvisualc
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • SQL Server Express and Visual Studio 2013

    In February I installed Visual Studio 2013 Professional. Looking in the Control Panel at all my installed programs, I see that I have a bunch of SQL server-related programs loaded, from the 2013 install and also from installs of previous Visual Studio versions.
    I've never done a thing with SQL server express, and am completely clueless about using it. I've already wanted to take a crack at it but it always seemed too daunting, so I backed off. It seems, however, that over the years the integration of SQL Server Express
    with Visual Studio is getting more and more seamless. Here is a list of all the SQL Server-related programs on my computer, with the ones installed automatically from the Visual Studio 2013 install bolded so they'll stand out. What I'm wondering is if I have
    everything I need to use SQL Server Express with Visual Studio 2013:
    Microsoft SQL Server 2005                                                  
    Microsoft Corporation   11/4/2013
    Microsoft SQL Server 2005 Mobile [ENU] De...                     
    Microsoft Corporation   4/29/2007
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Data-Tier App...                    
    Microsoft Corporation   1217/2011
    Microsoft SQL Se1Ver 2008 R2 Management ...                   
    Microsoft Corporation   1217/2011
    Microsoft SQL Server 2008 R2 Transact-SQL ...                    
    Microsoft Corporation   12/7/2011
    Microsoft SQL Server 2012 Command Line ...                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Data-Tier App Fr...              
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Express LocalDB                 
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Management Ob...               
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Native Client                        
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server 2012 Transact-SQL Co...                    
    Microsoft Corporation   9/21/2012
    Microsoft SQL Server 2012 Transact-SQL Ser...            
    Microsoft  Corporation 2/10/2014
    Microsoft SQL Server 2012 T-SQL Language ...             
    Microsoft Corporation  2/10/2014
    Microsoft SQL Server Compact 3.5 Design T...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Compact 3.5 SP2 ENU                       
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Compact 4.0SP1 ENU                        
    Microsoft Corporation   9/21/2012
     Microsoft SQL Se1Ver Data Tools - enu (11.1....                 
    Microsoft Corporation   5/19/2013
     Microsoft SQL Server Data Tools - enu (12.0....            
    Microsoft Corporation  2/10/2014
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...              
    Microsoft Corporation   5/19/2013
     Microsoft 
    SQL Server Data  Tools Build   Utiliti ...         
    Microsoft  Corporation 2/10/2014
     Microsoft SQL Server Database Publishing ...                     
    Microsoft Corporation   2/14/2008
    Microsoft SQL Server Database Publishing ...                      
    Microsoft Corporation   5/25/2010
    Microsoft SQL Server Native Client                                      
    Microsoft Corporation   4/1/2011
    Microsoft SQL Server Setup Support Files (E...                    
    Microsoft Corporation   4/1/2011
    Microsoft SQL Se1Ver System CLR Types                             
    Microsoft Corporation   1217/2011
    Microsoft SQL Server VSS Writer                                         
    Microsoft Corporation   4/1/2011

    Hello,
    Please read the following resources:
    http://msdn.microsoft.com/en-us/library/ms233763.aspx
    http://stackoverflow.com/questions/20333518/how-to-create-a-database-in-ms-visual-studio-2013
    http://msdn.microsoft.com/en-us/vstudio/bb643825.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Visual Studio 2013 Missing Design, Source and Split buttons

    Operating system Windows 8.1 preview.
    When editing a HTML file in Visual Studio 2013 Preview or Visual Studio Express 2013 for Web, the Design, Source and Split tabs are missing from the bottom left of the editor even though the "Enable HTML Designer" box is checked in the Options
    drop down. 
    This behavior occurs in the Web install of Visual Studio 2013 Preview and both the Web install and .iso install for Visual Studio Express 2013 Preview for Web. 

    Hi Jack:
    Thank you for your attention to this matter.
    Yes the problem also occurs on a different Windows 8 machine running Visual Studio Express 2013 Preview for Web.
    If I restart the VS IDE and reset the VS with the default settings, and then create a new sample, it DOES NOT WORK as expected. The Design, Source and Split tabs still are missing from the bottom left of the editor even though the "Enable
    HTML Designer" box is checked in the Options drop down.
    Here is an image, with buttons missing, of the lower left corner of the Visual Studio Express 2013 Preview for Web IDE.
    Here is an image, with the buttons as expected, of the lower left corner of the Visual Studio Express 2012 for Web IDE
    To try to repro the issue simply load a HTML file into the IDE of Visual Studio 2013 Professional Preview IDE or  Visual Studio Express 2013 Preview for Web IDE and see if the Design, Source and Split tabs are missing from the bottom left of the editor
    even though the "Enable HTML Designer" box is checked in the Options drop down.
    Robert Wishlaw

  • Publish cloud service fails from Visual Studio 2013 Update 4: Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.

    I have a cloud service project with two roles (service and worker). In Visual Studio 2013 Update 4 when I choose "Publish..." from the "Solution Explorer",  it opens "Microsoft Azure Activity Log" and quickly terminates.
    Here the log:
    9:43:47 AM - Applying Diagnostics extension.
    9:44:09 AM - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    All works fine when uploading the package and updating from https://manage.windowsazure.com/. It only fails from within Visual Studio.
    What can I do to get it working?

    I have the same problem with our Azure project. Two web roles (service and worker). Just updated from SDK2.2 to SDK2.5 and Visual Studio 2013 Update 2 to Update 4. The main reason behind this was to move from log4net to WAD and in doing so, of course directly
    move to the new diagnostics version.
    Now, I get the same error message in Visual Studio:
    11:45:24 - Checking for Remote Desktop certificate...
    11:45:25 - Applying Diagnostics extension.
    11:45:45 - Published Asset Entry for Image Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    With my small testing project - also two roles (service and worker) - everything is fine. However, I'm looking for a solution to make by existing production service working.
    Also the test project shows no Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml,
    but this is no problem - so what's the meaning of or solution to this error messages?
    What I found so far:
    I deployed the Azure project from the same development environment to another Azure test service: Deployment
    showed no errors and the service is running fine! So the problem is not with the source, the development environment, library dependencies etc.
    Trying Azure cmdlets for PowerShell also work fine for the new service and fails for the production service with almost the same error message:
    Following http://blogs.msdn.com/b/kwill/archive/2014/12/02/windows-azure-diagnostics-upgrading-from-azure-sdk-2-4-to-azure-sdk-2-5.aspx
    I tried:
    PS C:\> Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config -ServiceName $service_name -Slot 'Staging' -Role $role_name
    VERBOSE: Setting PaaSDiagnostics configuration for MyWebRole.
    Set-AzureServiceDiagnosticsExtension : BadRequest : Published Asset Entry for Image
    Microsoft.Azure.Diagnostics_PaaSDiagnostics_europeall_manifest.xml not found.
    At line:1 char:1
    + Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -Diagnostic ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Set-AzureServiceDiagnosticsExtension], CloudException
        + FullyQualifiedErrorId : Microsoft.WindowsAzure.CloudException,Microsoft.WindowsAzure.Commands.ServiceManagement.
       Extensions.SetAzureServiceDiagnosticsExtensionCommand
    The problem seems to be related to those service configuration parts in the cloud which are not replaced
    by a new deployment... So what are possible reasons or fixes for this behaviour?
    Best regards,
     Andreas

  • The Visual Studio 2013 setup wizard said "Setup failed" many times when I UNINSTALL it.

    I hope somebody can help me... Sorry for my bad English.
    I had Visual Studio 2013 installed about two years ago. But I don't need it now and I want to uninstall it. However, the setup wizard said "Setup failed" after I clicked "uninstall" for a while. And it said:
    Microsoft Visual Studio 2013
    Fatal error during installation.
    Microsoft Advertising SDK for Windows Phone - ENU
    Package failed.
    Microsoft Visual C++ 2012 Compilers For Windows Phone - ENU Resources
    Package failed.
    Microsoft Visual C++ 2012 Core Libraries For Windows Phone
    Package failed.
    Microsoft Visual C++ 2012 Compilers For Windows Phone
    Package failed.
    Workflow Manager Tools 1.0 for Visual Studio
    Package failed.
    Windows 8 Development Essentials
    Package failed.
    LocalESPCui for en-us
    Package failed.
    LocalESPC
    Package failed.
    I have tried repair it, but it said:
    Visual Studio Core Features - ENU
    Fatal error during installation.
    After repair, I clicked "uninstall" and it tipped me the same error.
    Thanks very much.

    Hello Sakura Chino,
    The Visual Studio installation will leave some components on your OS for repair/uninstall. The problem seems related to this. If you can find the installer which you used to install Visual Studio 2013, then please use it to repair and uninstall. It
    will fix problems on your OS so please don't try to uninstall from control panel. 
    If you cannot find the source installer, please download the same version of Visual Studio 2013 ISO from here:
    https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
    Then verify it's hash value by refer to the following page:
    https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs
    After that, you can use that installer to repair then uninstall.
    If you still meet any problem, please use the following tool to fix:
    https://support.microsoft.com/en-us/mats/program_install_and_uninstall
    It is for Visual Studio 2010 or previous versoin, but some customers fixed problems by using this tool. I think you can also have a try on it.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual studio 2013 Installation professional

    Report features are not installed while installing visual studio 2013 professional .
    even-tho we selected all the features at the time of visual studio 2013 professional  installation.
    System is Up-to-date . 
    windows 7 Professional with 64-bit OS .
    Latest 4.5.1 framework has been installed  .
    Report viewer 2012 run time and report viewer 2011 has been installed successfully .
    Sql management Studio 2012 with all the features has been Enabled  with Business Intelligent Tool has been enabled.
    Please help us to sort out this problem .
    Thanks in advance .

    I get the following errors when trying to compile any type of project after an install visual studio 2013 professional with update 4 on a computer that has no access to the internet. No previous versions of visual studio have been on the machine.
    Warning MSB8003: Could not find windowssdkdir from the registry. Target framework version or platform toolset may be set to an invalid version number.
    Error LNK 1104: cannot open file kernel32.lib
    Any ideas?
    Did you see if any of the search results provided by Google typing the exact error message can help?
    Alessandro Del Sole
    Microsoft MVP - Visual Basic: development
    http://community.visual-basic.it/alessandro/

  • Error installing SQL Server Data Tools - Business Intelligence for Visual Studio 2013

    Hi
    I am trying to install SQL Server Data Tools - Business Intelligence for Visual Studio 2013 and am getting the following error
    This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
    I am running
    Windows 8.1 x64
    SQL Server 2014 Developer Edition x64
    Visual Studio 2013 Professional
    Any help would be appreciated.
    Thanks
    Biztalk Developer

    Could you please check if Windows Installer service is running and is in automatic startup mode.
    The other thing is, if you’re running an x64-based SQL instance (64-bit), make sure to select “New Instance” on the Installation Type page, and NOT “Add features to an existing instance”. 
    http://stackoverflow.com/questions/24989187/64-bit-microsoft-sql-server-data-tools

  • Visual Studio 2013 Profession vs. Visual Studio 2013 Express

    One of my colleagues tried to open a .sln file created with Visual Studio 2013 Professional Edition using Visual Studio 2013 Express Desktop. He got messages about project files being incompatible.  Is it not possible to do this?

    Hello liorb,
    It seems your issue is related to C++ 2015 so I moved it here. If your VS2015 and VS2013 are both on the same machine I recommend you follow pvdg42's advice to report this issue to connect and share the link back to here. Maybe it is a problem with
    this beta version.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Installing Sharepoint Phone SDK for Visual Studio 2013

    I am trying to install the SharePoint 2013 Phone SDK on my desktop computer (Win 8.1, 64bit) running Visual Studio 2013 Professional. VS2013 comes prepackaged with the Windows Phone 8 SDK, but the SP2013 Phone SDK installer fails to recognize it and promptly
    cancels the installation. Is the SharePoint 2013 Phone SDK not supposed to run on VS2013?

    Restart the computer and try to install the SDK again. if it fails again then
    go to start > run > %temp%
    Here check the latest file which will have installation details of SDK. Please let us know the error you see in this log file.
    I Assume wind 8.1 can be the issue

  • In menu bar for print, find, and find next

    Hi Everyone,
    In the menu bar apart from back cancel, i have these icons also print, find and find next.
    To implement these to perform their respective functions, is there any stantards functions or forms to invoke or else how could it be achieved.
    Any help on this will be of great use to me.
    Thanks in advance,
    Prabs.

    Hi Everyone,
    See in the standard toolbar of my screen i have these icons which are assigned to standard function codes, but when i execute my pgm and press the buttons it says
    This function is not possible, so my question is do i have to code something in the program for these to work.
    Any help will be great use to me.
    Thanks,
    Prabs.

  • Help about 'Find' and 'Find Next' Buttons...

    Hi Friends!
    There's a way to implement the standard functions of the buttons 'Find' and 'Find Next' in a Z Program????
    A function or something else???
    tks in advance!

    You need to write the list before calling the FM.
    Like:
    REPORT  ZTEST_NP.
    DO 10 TIMES.
      WRITE: / SY-INDEX.
    ENDDO.
    AT LINE-SELECTION.
    * first write the data ... to make the list active
      DO 10 TIMES.
        WRITE: / SY-INDEX.
      ENDDO.
      CALL FUNCTION 'LIST_SCAN'
        EXCEPTIONS
          NO_LIST_ACTIVE = 1
          OTHERS         = 2.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards,
    Naimesh Patel

Maybe you are looking for