Before I installed Visual Studio I've been using other IDEs like codeblocks and Dev C++, and there was a good option, when I write {, it automatically closes the loop and takes the cursor to a new line, and I didn't need to do it manually as in Visual Studio. Is there an option like this in Visual Studio? If so, how can I enable it?

有帮助吗?

解决方案

Here is a hack to to try making Brace Completer work with all Express editions (I can't test if it works).

  1. Change the extension of the package from vsix to zip.
  2. Locate the file extension.vsixmanifest and open it in a text editor.
  3. There is a list of supported versions. Add a new one called 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>
    
  4. Change back the extension.

  5. Install the package.

You can do the same thing after the add-on is installed. Just edit the right file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top