## Executive Summary

In a fast-paced, demo-dense presentation, Jason Chlus highlighted over **25 new developer-driven productivity features** in Visual Studio 2026. Sourced predominantly from Developer Community feedback, these updates address the daily friction points of modern engineering: from navigating multi-project solutions (such as Orchard Core with 260 projects) to editing Markdown and AI agent definitions, building faster with MSBuild Fast-Fail, diagnosing string assertion failures in Test Explorer, reviewing code locally prior to opening a PR, and gracefully handling unsaved files via Hot Exit.

![What's New in Visual Studio](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/01_title_whats_new_vs.webp)

---

## 1. Solution Navigation & Agentic File Formats

With the rise of AI agents, skills, and autonomous workflows, developers regularly work with files that do not live inside traditional MSBuild `.csproj` item groups (`agents.md`, `skills/`, `.env`, schema files, and documentation).

![File System View in Solution Explorer](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/02_file_system_view_solution_explorer.webp)

### File System View in Solution Explorer
- **Toggle View:** Developers can seamlessly switch from the logical Solution hierarchy to a physical **File System View** directly in Solution Explorer.
- **Unmapped Artifacts:** Allows opening, editing, and managing files outside the project model without leaving the IDE or switching to external terminal tools.
- **Scalability:** Validated against enterprise solutions like Orchard Core (260 projects) without indexing stutter.

### First-Class Markdown (#2 Language in VS)
Markdown has surpassed HTML to become the second most edited file format in Visual Studio:
- **Interactive Markdown Previews:** Real-time side-by-side rendered preview with synchronised scrolling.
- **Drag-and-Drop Assets:** Dragging images, links, or documents from the File Explorer into Markdown automatically creates properly formatted relative markdown links.

![First-Class Markdown Editing and Preview](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/03_first_class_markdown_preview.webp)

---

## 2. GitHub Copilot & Chat Ergonomics

Visual Studio 2026 deepens the integration between the IDE canvas and AI agent workflows:
- **File Drag-and-Drop into Chat:** Dragging any file directly into the Copilot Chat input box automatically attaches the file as rich context.
- **Autopilot Defaults in Tools > Options:** Developers who prefer hands-off agent execution can set default permissions to **Autopilot** with `Allow All` tools and terminal commands, eliminating repeated confirmation prompts.

![Copilot Autopilot Defaults](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/04_copilot_autopilot_defaults.webp)

---

## 3. Web & CSS Developer Enhancements

Front-end web development in ASP.NET Core and Blazor receives overdue quality-of-life updates:
- **HTML to CSS Navigation:** Pressing `F12` (Go to Definition) on HTML/Razor tags and class attributes now jumps directly to the matching CSS rule in linked stylesheets.
- **Interactive CSS Color Picker:** Clicking color swatches opens an integrated color picker supporting hex, RGB, and HSL values, alpha transparency sliders, an eyedropper tool, and recently used project palette tokens.

![HTML CSS Navigation and Color Picker](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/05_html_css_navigation_color_picker.webp)

---

## 4. Build Inner Loop: Fast-Fail on First Failure

In large multi-project repositories, traditional MSBuild builds attempt to compile the entire solution graph, reporting hundreds of cascading errors minutes later.

![Stop on First Failure Fast-Fail](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/06_stop_on_first_failure_fast_fail.webp)

- **Stop on First Failure (Opt-In):** When enabled, MSBuild aborts the build process the instant the first project failure is encountered.
- **Orchard Core Benchmark:** In Orchard Core (260 projects), a syntax error normally taking **4–5 minutes** to fail the complete build graph was detected and aborted in **~10 seconds**, drastically accelerating inner-loop cycle times.

---

## 5. Test Explorer & Diagnostics

Visual Studio 2026 introduces major precision tooling built by the MS Test and Test Explorer teams:

![Test Explorer String Diff Assertion](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/07_test_explorer_string_diff_assertion.webp)

### Rich String Assertion Diff
When string assertions fail, Test Explorer now displays an inline character-level difference view:
- **Localization Bug Demo:** In a Turkish culture comparison (`to_lower` vs `to_lower_invariant`), the diff clearly highlighted the missing dot on the capital `İ` (`to_snake_case` failing on `i` vs `ı`), removing the guesswork of string mismatch inspections.

### Test Explorer Usability Tweaks
- **Last-Run Timestamps & Groupings:** Visible indicators show whether a test was executed in the current session or hours earlier.
- **Open Test Log Icon:** Directly open full standard output/error logs in an external editor tab for high-volume logging suites.

---

## 6. Workspace Customization, Tabs & Output Window

Visual Studio adds modern keyboard and UI ergonomics requested by power users:

![Revamped Keyboard Shortcuts UI](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/08_revamped_keyboard_shortcuts_ui.webp)

- **Keyboard Tab Reordering:** Move tabs left and right using `Ctrl+Shift+PageUp` and `Ctrl+Shift+PageDown`.
- **Close Tabs to the Right:** Instant tab cleanup action via right-click context menu.
- **Fluid Tab Dragging:** High-framerate fluid tab tear-off and docking animations.
- **Tight Tool Window Sizing:** Compact tab headers (`Min/Max` tab sizing) saving precious screen real estate.
- **Keyboard Shortcuts Manager:** Re-engineered search, shortcut conflict detection, and a "Record Keystroke" capture box.
- **Zoom Reset:** Instantly reset editor zoom to 100% using `Ctrl+Num0`.
- **Fonts & Colors Modern UI:** In-place semantic token preview and theme font selection.
- **Colorized ANSI Output Window (Opt-In):** Full ANSI 24-bit color support in the Visual Studio Output Window, displaying yellow warnings, red errors, cyan informational tags, and formatted terminal outputs.

![Colorized ANSI Output Window](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/09_colorized_ansi_output_window.webp)

---

## 7. Local PR Review & Multi-File Diffs

Developers can now perform full code reviews locally before opening a pull request on GitHub or Azure DevOps:

![Local PR Review with Inline Comments](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/10_local_pr_review_inline_comments.webp)

### Key Capabilities
- **Review Against Any Commit:** Compare working tree changes against `HEAD`, the last commit, or any historical branch.
- **Multi-File Summary Diff:** Unified view displaying all touched files, additions, and deletions in a single pane.
- **Inline Commenting:** Leave review comments, emojis, and code suggestions directly on diff lines.
- **Address Comments with Copilot:** Pass inline review comments directly to Copilot Chat with exact file and line coordinates, allowing the agent to resolve feedback autonomously.
- **Change Groupings:** Group diffs logically (e.g., separating database migrations, configuration bumps, and business logic).

---

## 8. Resilience: Hot Exit

Visual Studio 2026 introduces **Hot Exit**, resolving a decades-long request:

![Hot Exit Unsaved Recovery](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/11_hot_exit_unsaved_recovery.webp)

- **Zero Data Loss:** Close Visual Studio at any time with unsaved modifications across C#, SQL, Markdown, or JSON files.
- **Seamless Recovery:** Relaunching the solution restores all open tabs, cursor positions, and unsaved edits identically without prompt dialogs.
- **Coming to SSMS:** Hot exit architecture is slated for release in upcoming versions of SQL Server Management Studio (SSMS).

---

## Complete Feature Matrix (26 Features)

![Recap of All 26 Features](/dotnetconf2026/archive/20-whats-new-in-visual-studio/screenshots/12_recap_all_26_features_slide.webp)

| Category | Feature Name | Status / Toggle |
|---|---|---|
| **Solution & Files** | File System View in Solution Explorer | Default |
| **Solution & Files** | Drag & drop links and images in Markdown | Default |
| **Solution & Files** | Markdown as #2 language support | Default |
| **Solution & Files** | Drag & drop files directly into Copilot Chat | Default |
| **AI Workflows** | Autopilot default permissions configuration | Tools > Options |
| **AI Workflows** | Mid-task agent steering | Default |
| **Web & Styling** | HTML Jump to Definition (F12) to CSS | Default |
| **Web & Styling** | Interactive CSS Color Picker & Eyedropper | Default |
| **Build System** | Stop on First Failure (Fast-Fail MSBuild) | **Opt-In** (Tools > Options) |
| **Testing** | Assertion Failure String Diff in Test Explorer | Default |
| **Testing** | Test Explorer Last-Run icons & groupings | Default |
| **Testing** | Test Explorer "Open Test Log" quick-action | Default |
| **Testing** | Export Test Results | Coming Soon |
| **Editor & Tabs** | Keyboard tab reordering (`Ctrl+Shift+PgUp/PgDn`) | Default |
| **Editor & Tabs** | Close tabs to the right | Default |
| **Editor & Tabs** | Fluid tab drag-and-dock performance | Default |
| **Editor & Tabs** | Compact / Tight Tool Window tab sizing | Tools > Options |
| **Personalization** | Modern Keyboard Shortcuts UI & Key Recording | Default |
| **Personalization** | Editor Zoom Reset (`Ctrl+Num0`) | Default |
| **Personalization** | Revamped Fonts & Colors UI with token preview | Default |
| **Diagnostics** | Colorized ANSI Output Window | **Opt-In** (Tools > Options) |
| **Git & Review** | Local PR Review against any commit | Default |
| **Git & Review** | Inline diff comments & reactions | Default |
| **Git & Review** | "Address My Comments" Copilot handoff | Default |
| **Git & Review** | Change Groupings in PR review | Default |
| **Resilience** | Hot Exit (lossless recovery of unsaved edits) | Default |
