Visual C ++ 2010 express auto-recording brackets

Before I installed Visual Studio, I used other IDEs, such as code blocks and Dev C ++, and there was a good option when I write { , it automatically closes the loop and moves the cursor to a new line. I did not need to do this manually, as in Visual Studio. Is there such an option in Visual Studio? If so, how can I turn it on?

+6
source share
1 answer

Here's a hack attempt to get Brace Completer to work with all versions of Express (I can't check if it works).

  • Change the package extension from vsix to zip.
  • Locate the extension.vsixmanifest file and open it in a text editor.
  • There is a list of supported versions. Add a new instance of Express_All (for each version of VS you want).

     <SupportedProducts> <VisualStudio Version="10.0"> <Edition>Ultimate</Edition> <Edition>Premium</Edition> <Edition>Pro</Edition> <Edition>IntegratedShell</Edition> <Edition>Express_All</Edition> </VisualStudio> <VisualStudio Version="11.0"> <Edition>Ultimate</Edition> <Edition>Premium</Edition> <Edition>Pro</Edition> <Edition>IntegratedShell</Edition> <Edition>Express_All</Edition> </VisualStudio> </SupportedProducts> 
  • Cancel the extension.

  • Install the package.

You can do the same after installing the add-on. Just edit the correct file.

+1
source

Source: https://habr.com/ru/post/944809/


All Articles