Skip to content

Suggested Visual Studio 2013 Configuration

Alex Swindler edited this page May 22, 2014 · 23 revisions

WikiSuggested Visual Studio 2013 Configuration

This document recommends resources and modifications that may improve your experience or increase the utility of using Visual Studio 2013 with OpenStudio.

Debugger Visualizers

Copy the contents of the Visualizers directory to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Packages\Debugger\Visualizers. This will allow you to easily inspect and debug Boost and Qt objects within Visual Studio.

Line Numbers

Enable TOOLS -> Options -> Text Editor -> All Languages -> Line numbers

Configure Spacing

In TOOLS -> Options -> Text Editor -> All Languages -> C/C++ -> Tabs, set Tab size and Indent size to 2 with the Insert spaces option selected.

Add Syntax Highlighting to .i Files

In TOOLS -> Options -> Text Editor -> File Extension, add the i extension with the Microsoft Visual C++ editor.

Extensions

This adds syntax highlighting and IntelliSense support for CMake files

This adds syntax highlighting to Doxygen commands

This allows you to view, run, and track test results from all OpenStudio tests directly in Visual Studio.

This extension allows you to select a variable or string and highlight all instances of that string.

This extension adds a large number of useful features, including highlighting project errors in the solution explorer, filtering the solution explorer, scrollbar markers to help find related code, middle-click scrolling, fixing mixed tabs and spaces, aligning assignments, and much more.

This will highlight potential spelling mistakes in code strings and comments.

This extension also adds a large number of useful features, including coloring output window text color, showing a build summary, changing the window title to reflect the current Git branch, keeping documents open when reloading projects, canceling the build when the first project fails, and more.