These configurations are consistent with the configurations provided by Single File IntelliSense functionality introduced in VS 2015.ĭepending on the project, you may need to customize these configurations with more information about your source code e.g. Rename symbol, Extract function, Move definition location, Change signature, Convert to raw string literals, etc.īy default, VS will provide two C++ configurations for IntelliSense and browsing: Debug and Release. While editing your code, you can also use all of the refactoring features that Visual Studio supports for C++ e.g. Also, when you edit code, Visual Studio’s IntelliSense will continue updating and assisting you with the latest information from your sources. Find all references, Go to symbol, Peek definition, Semantic colorization and highlighting, Class View, Call Hierarchy, to name a few).Īll these C++ browsing and navigation services work without you having to create any Visual C++ projects like you would’ve in previous Visual Studio releases (through the “ Create Project from Existing Code” wizard).Īs you create, rename or remove source files from your project, you don’t have to worry anymore about updating the Visual C++ projects as well – Visual Studio will rely on the folder structure and monitor changes on disk as needed. You now have access to all the Visual Studio capabilities of reading and browsing C++ code (e.g.
In the background, Visual Studio will start indexing the C++ sources in your folder. “Desktop development with C++” or “Game development with C++”.Īfter that, all you have to do is run the “Open Folder” command and select the folder you want to browse (either from File > Open > Folder or Quick Launch) or directly launch devenv.exe from the command prompt.Īs soon as you open the folder, Solution Explorer will immediately display the files in that folder and you can open any files in the editor.
When you install the product, make sure to install one of the C++ workloads e.g. If your project is using another build system, read on. If you have a CMake-based project, take a look also at this post describing our Visual Studio’s streamlined “Open Folder” experience for CMake.
The new functionality in Visual Studio 2017 called “ Open Folder” has full support for C++. Getting started with “Open Folder” for C++
You will learn how to use “Open Folder” to easily: This post describes the “Open Folder” support for C++ codebases. The new functionality, “Open Folder”, also offers a more natural source file management as well as access to the powerful code understanding, editing, building and debugging capabilities that Visual Studio already provides for MSBuild projects. This makes it a lot simpler to get started with Visual Studio, even if your project is not an MSBuild-based project. Welcome to Visual Studio 2017! Starting with this release, Visual Studio supports opening folders containing source code without the need to create any solutions or projects. ⏱ Updated on March 06, 2017 with the latest functionality in Visual Studio 2017 RTW