|
| 1 | +--- |
| 2 | +title: Learn about the Solution Explorer tool window |
| 3 | +description: Learn how you can use the Solution Explorer tool window in Visual Studio to create & manage your files, projects, and solutions. |
| 4 | +ms.date: 06/29/2021 |
| 5 | +ms.topic: conceptual |
| 6 | +helpviewer_keywords: |
| 7 | +- solution explorer [Visual Studio] |
| 8 | +author: TerryGLee |
| 9 | +ms.author: tglee |
| 10 | +manager: jmartens |
| 11 | +ms.workload: |
| 12 | +- multiple |
| 13 | +--- |
| 14 | +# How to use Solution Explorer |
| 15 | + |
| 16 | +You can use the Solution Explorer tool window to create & manage your solutions and projects and to view & interact with your code. In this article, we'll detail the user interface (UI) options that help you do so. |
| 17 | + |
| 18 | +> [!NOTE] |
| 19 | +> This topic applies only to Visual Studio on Windows. |
| 20 | +
|
| 21 | +## Solution Explorer tool window |
| 22 | + |
| 23 | +To start, let's take a look at the Solution Explorer tool window in the [Visual Studio IDE](../get-started/visual-studio-ide.md), with an open C# console solution that has two projects. |
| 24 | + |
| 25 | +[](media/solution-explorer-tool-window.png#lightbox) |
| 26 | + |
| 27 | +The tool window contains the following UI (user interface) elements: |
| 28 | + |
| 29 | +- **Menu bar**, where you can control how your files appear |
| 30 | +- **Search bar**, where you can search for specific files and file types |
| 31 | +- **Main window**, where you can view and manage your files, projects, & solutions |
| 32 | +- **Solution node**, where you can manage your solution(s) |
| 33 | +- **Project node**, where you can manage your project(s) |
| 34 | +- **Dependencies node**, where you can manage your solution & project dependencies |
| 35 | +- **Program node**, where you can view, edit, and manage your program or application (app) |
| 36 | +- **[Git changes tab](../version-control/git-with-visual-studio.md?view=vs-2019&preserve-view=true#git-changes-window)**, where you can use Git & GitHub within Visual Studio to collaborate on projects with your team |
| 37 | + |
| 38 | +> [!TIP] |
| 39 | +> If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using **View** > **Solution Explorer**, or by pressing **Ctrl**+**Alt**+**L**. |
| 40 | +
|
| 41 | +## Solution Explorer menu bar |
| 42 | + |
| 43 | +To continue, let's take a closer look at the Solution Explorer menu bar. |
| 44 | + |
| 45 | +[The Solution Explorer menu bar in Visual Studio.](media/solution-explorer-menu-bar.png) |
| 46 | + |
| 47 | +The menu bar contains the following UI elements, from left to right: |
| 48 | + |
| 49 | +- **Back** button, to toggle between search results |
| 50 | +- **Forward** button, to toggle between search results |
| 51 | +- **Home** button, to return to the default view |
| 52 | +- **Switch** button, to switch between solutions and available views |
| 53 | +- **Pending Changes Filter** button & drop-down menu, to view open files or files with pending changes |
| 54 | +- **Sync with Active Document** button, to locate a file from the code editor |
| 55 | +- **Refresh** button, which appears only when you select a dependency, such as a function or a package |
| 56 | +- **Collapse All** button, to collapse the file view in the main window |
| 57 | +- **Show All Files** button, to view all files, including [unloaded projects](filtered-solutions.md#toggle-unloaded-project-visibility) |
| 58 | +- **Properties** button, to view and change settings for specific files and components |
| 59 | +- **Preview Selected Items** button, to view a selected file or component in the code editor |
| 60 | + |
| 61 | +### Solution Explorer right-click context menu |
| 62 | + |
| 63 | +In Solution Explorer, there are several file properties that you can interact with by using the right-click context menu. For more information about the right-click context menu options, see the [Manage project and solution properties](managing-project-and-solution-properties.md) page. |
| 64 | + |
| 65 | +## See also |
| 66 | + |
| 67 | +- [What are solutions and projects in Visual Studio?](solutions-and-projects-in-visual-studio.md) |
| 68 | +- [Customize window layouts in Visual Studio](customizing-window-layouts-in-visual-studio.md) |
0 commit comments