Skip to content

Solution Explorer

The Solution Explorer is a core feature of C# Dev Tools, providing a Visual Studio-like experience for managing .NET projects.

The Solution Explorer gives you a complete hierarchical view of your .NET solution, including:

  • Solution files and properties
  • Projects and project references
  • Solution folders
  • File system folders and files
  • Dependencies (NuGet packages and project references)
Solution Explorer

The Solution Explorer provides a comprehensive set of features organized into the following areas:

  • Expand/Collapse: Click the arrow icons to expand or collapse items
  • Open Files: Double-click on a file to open it in the editor
  • Select Multiple Items: Use Ctrl+Click or Shift+Click to select multiple items
  • Context Menu: Right-click on items to see available actions

Right-click on an item and select:

  • Copy Path: Copy the full path to the clipboard
  • Copy Relative Path: Copy the path relative to the workspace
  • Reveal in File Explorer: Open the item’s location in File Explorer
  • Open in Integrated Terminal: Open a terminal at the item’s location

The Solution Explorer can automatically highlight the currently active file:

  1. Open VS Code settings
  2. Search for “csharp-dev-tools.solutionViewer.trackActiveFile”
  3. Toggle the setting as desired

You can also press Shift+Alt+L to reveal the current file in the Solution Explorer at any time.

The Solution Explorer respects VS Code’s files.exclude setting from both workspace and user (global) configurations:

  • Files matching exclusion patterns are automatically hidden from the tree
  • Glob patterns are supported (**/*.ext, folder/, **/folder/**, …)
  • Workspace settings override user settings, allowing fine-grained control per project

When a .NET project is detected (by the presence of .sln, .slnx, or .csproj files) the Solution Explorer automatically hides IDE-generated files:

  • Visual Studio user files: *.csproj.user, *.user, *.suo
  • Visual Studio directory: .vs/
  • JetBrains Rider directory and settings: .idea/, *.DotSettings.user

You can override this behavior via your own files.exclude settings if you need to see those files.

Unity projects are automatically detected (presence of Assets/, ProjectSettings/, or Unity references in .csproj files) and:

  • All *.meta files are hidden from the Solution Explorer
  • Moving or renaming files in Unity projects automatically moves/renames the associated .meta files alongside them, keeping Unity’s asset metadata in sync