Skip to content

Repo sync for protected branch #10326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/debugger/media/vs-2022/dbg-ienumerable-visualizer-data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 14 additions & 6 deletions docs/debugger/view-data-in-tabular-visualizer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "View data with the Tabular visualizer "
description: View large collection objects with built-in tabular visualizers in the Visual Studio debugger and examine data by row and column for fields and properties.
ms.date: "01/19/2023"
ms.date: "07/30/2024"
ms.topic: "conceptual"
dev_langs:
- "CSharp"
Expand Down Expand Up @@ -29,35 +29,43 @@ To open the visualizer, you must be paused during debugging.

You can access the visualizer by clicking on the magnifying glass icon that appears next to the Value for one of those objects ![VisualizerIcon](../debugger/media/dbg-tips-visualizer-icon.png "Visualizer icon") in a debugger variables window or in a DataTip.

:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-debugger-visualizer.png" alt-text="Diagram of Open an IEnumerable visualizer.":::
:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-debugger-visualizer.png" alt-text="Screenshot of Open an IEnumerable visualizer.":::

## DataSet visualizer

The DataSet Visualizer allows you to view the contents of a DataSet, DataTable, DataView, or DataViewManager object.

:::image type="content" source="../debugger/media/dbg-tips-dataset-visualizer.png " alt-text="Diagram of View the DataSet visualizer data.":::
:::image type="content" source="../debugger/media/dbg-tips-dataset-visualizer.png " alt-text="Screenshot of View the DataSet visualizer data.":::

## IEnumerable visualizer

Starting in Visual Studio 2022, you can view IEnumerable collections in a tabular view.

The IEnumerable visualizer helps explore large collection objects in a more streamlined way. The visualizer supports IEnumerable collections where the object type (T) can be simple types or complex types like dictionaries.

:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-visualizer-data.png" alt-text="Diagram of View the IEnumerable visualizer data.":::
:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-visualizer-data.png" alt-text="Screenshot of View the IEnumerable visualizer data.":::

You can use the right-click context menu to customize the view:

- Select **Hide Column** to hide duplicate data.
- Select **Expand Column** to see more details items in the complex data.
- Select **Hide Children** to get a more concise view of your data.

## Filter, sort, and export visualizer data
## Filter, sort, and export visualizer data

- Both DataSet and IEnumerable support filtering, sorting, and exporting of visualizer data.
- You can sort the visualizer columns in ascending/descending order by clicking on the column name.
- You also can filter visualizer data based on a filter string. Enter the string in the filter box in the upper right corner and press Enter. The Visualizer returns all the rows that contain a value that matches the filter string.
- You can export the data from IEnumerable visualizers in CSV/Excel format using the dropdown on the top right corner.
- You can also export the filtered and sorted results in CSV/Excel format.

:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-visualizer-filtering.gif" alt-text="Diagram of View the visualizer data filter.":::
:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-visualizer-filtering.png" alt-text="Screenshot of View the visualizer data filter.":::

## Modify the visualizer expression

Starting in Visual Studio 2022 version 17.11 Preview 6, you can directly change the **Expression** textbox with a modified LINQ expression. The visualizer data gets updated, reflecting the data change resulting from your new query.

:::image type="content" source="../debugger/media/vs-2022/dbg-ienumerable-visualizer-edit-expression.png" alt-text="Screenshot of View the visualizer data edit the expression.":::

## Related content
- [View strings in a string visualizer](../debugger/view-strings-visualizer.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/ide/ai-assisted-development-visual-studio.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: AI-assisted development in Visual Studio
description: Learn about the AI-assisted development tools in Visual Studio, such as GitHub Copilot, GitHub Copilot Chat, and IntelliCode, and how they can help you write code more efficiently.
ms.date: 4/17/2024
title: AI-assistance for developers in Visual Studio
description: Learn about the AI-assisted development tools in Visual Studio, such as GitHub Copilot Completions and Chat, and IntelliCode, and how they can help you write code more efficiently.
ms.date: 7/29/2024
ms.topic: overview
author: anandmeg
ms.author: meghaanand
Expand Down
11 changes: 6 additions & 5 deletions docs/ide/copilot-chat-context.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'Tips & Tricks for GitHub Copilot Chat in Visual Studio'
description: Use slash commands, references, and threads to form better questions and get better answers with scoped context in GitHub Copilot Chat.
ms.date: 5/22/2024
ms.date: 7/29/2024
ms.topic: how-to
author: anandmeg
ms.author: meghaanand
Expand All @@ -28,10 +28,11 @@ Learn more about [AI-assisted development in Visual Studio](../ide/ai-assisted-d
## Prerequisites

To get started using GitHub Copilot Chat in Visual Studio, you need:
+ An active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to either [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business)
+ Visual Studio 2022 [version 17.6](/visualstudio/releases/2022/release-history) or later installed
+ [GitHub Copilot installed](visual-studio-github-copilot-install-and-states.md) in Visual Studio
+ [GitHub Copilot Chat extension installed](visual-studio-github-copilot-chat.md#get-github-copilot-chat-for-visual-studio) in Visual Studio
+ Visual Studio 2022 [version 17.8](/visualstudio/releases/2022/release-history) or later
+ Active [subscription](https://docs.github.com/en/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot) to either [GitHub Copilot for Individuals](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) or [GitHub Copilot for Business](https://docs.github.com/copilot/overview-of-github-copilot/about-github-copilot-for-business)
+ [GitHub Copilot](visual-studio-github-copilot-install-and-states.md) in Visual Studio
+ [GitHub Copilot Chat](visual-studio-github-copilot-chat.md#get-github-copilot-chat-for-visual-studio) in Visual Studio
+ [Sign in to Visual Studio with the GitHub account](work-with-github-accounts.md) that has an active GitHub Copilot subscription

Support for GitHub Copilot Chat will be provided by GitHub and can be reached at https://support.github.com.

Expand Down
10 changes: 6 additions & 4 deletions docs/ide/visual-studio-github-copilot-admin.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Admin controls for GitHub Copilot in Visual Studio
description: GitHub Copilot in Visual Studio 2022 version 17.10 introduces new features for administrators to manage Copilot effectively.
ms.date: 3/28/2024
description: Learn about the new features for administrators in GitHub Copilot for Visual Studio that enable admins to manage Copilot effectively.
ms.date: 7/30/2024
ms.topic: how-to
author: anandmeg
ms.author: meghaanand
Expand All @@ -11,8 +11,10 @@ ms.collection: ce-skilling-ai-copilot
monikerRange: vs-2022
---

# Admin controls for GitHub Copilot
GitHub Copilot in Visual Studio 2022 17.10 Preview 3 introduces new features for administrators to manage Copilot effectively.
# Admin controls for GitHub Copilot

Visual Studio 2022 version 17.10 introduces new features for administrators to configure and manage GitHub Copilot for their enterprise effectively.
In this article, you learn how to disable Copilot for individual accounts or disable Copilot altogether.

## Disabling Copilot for individual Enterprise Visual Studio accounts

Expand Down
6 changes: 3 additions & 3 deletions docs/ide/visual-studio-github-copilot-chat.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: About GitHub Copilot Chat in Visual Studio
description: Learn about the fully integrated AI-powered GitHub Copilot Chat extension in Visual Studio, and how you can use the chat interface to ask and receive answers to coding-related questions from right within the IDE.
ms.date: 5/22/2024
description: Learn about the fully integrated GitHub Copilot Chat in Visual Studio. Use the chat interface to ask coding-related questions from right within the IDE.
ms.date: 7/29/2024
ms.topic: overview
author: anandmeg
ms.author: meghaanand
Expand All @@ -14,7 +14,7 @@ monikerRange: '>= vs-2022'

[**GitHub Copilot Completions**](https://marketplace.visualstudio.com/items?itemName=GitHub.copilotvs) and [**GitHub Copilot Chat**](https://aka.ms/VSXGHCopilot) in Visual Studio enable enhanced [AI-assisted development in Visual Studio](ai-assisted-development-visual-studio.md), helping you be more productive and efficient when writing code.

In this article, you'll learn about using Copilot Chat in Visual Studio, a fully integrated AI-powered chat experience from [GitHub Copilot](visual-studio-github-copilot-extension.md) right within the Visual Studio IDE. It enables you to get coding information and support, such as syntax, programming concepts, context-specific code help, test cases, debugging, and more, without leaving the IDE.
In this article, you'll learn about using Copilot Chat in Visual Studio, a fully integrated AI-powered chat experience from [GitHub Copilot](visual-studio-github-copilot-extension.md) right within the Visual Studio IDE. It enables you to get coding information and support, such as syntax, programming concepts, context-specific code help, test cases, debugging, and more, without leaving the IDE. [Use the chat interface](#use-copilot-chat-in-visual-studio) to submit your question as prompt and [set intent](copilot-chat-context.md) for better scoped answers.

For more information on the GitHub Copilot Completions in Visual Studio, see [About GitHub Copilot Completions for Visual Studio](visual-studio-github-copilot-extension.md).

Expand Down
6 changes: 3 additions & 3 deletions docs/ide/visual-studio-github-copilot-install-and-states.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Install and manage GitHub Copilot in Visual Studio
description: Install GitHub Copilot in Visual Studio and manage copilot state by using the Copilot badge in the IDE.
ms.date: 6/18/2024
description: Learn how to install GitHub Copilot to get GitHub Copilot Completions and Chat in Visual Studio. Use the Copilot badge in the IDE to access options to manage or troubleshoot your Copilot state.
ms.date: 7/29/2024
ms.topic: install-set-up-deploy
author: anandmeg
ms.author: meghaanand
Expand Down Expand Up @@ -80,7 +80,7 @@ Download and install the extensions directly from [Visual Studio Marketplace](ht

## Manage your Copilot state

With Visual Studio 2022 version 17.10, you see a Copilot status icon in the upper-right corner of the Visual Studio environment that indicates if Copilot is active, inactive, unavailable, or not installed. Using the dropdown menu from the status icon, you can easily access options that help manage or troubleshoot your Copilot state. Some options are available or greyed out depending on your Copilot state.
With Visual Studio 2022 version 17.10, you see a Copilot status icon in the upper-right corner of the Visual Studio environment that indicates if Copilot is active, inactive, unavailable, or not installed. Using the dropdown menu from the status icon, you can easily access options that help manage or [troubleshoot](visual-studio-github-copilot-troubleshoot.md) your Copilot state. Some options are available or greyed out depending on your Copilot state.

> [!NOTE]
> Note that the status icon is moving from the bottom panel of the Visual Studio editor.
Expand Down
8 changes: 4 additions & 4 deletions docs/ide/visual-studio-github-copilot-troubleshoot.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Troubleshoot GitHub Copilot in Visual Studio 2022
description: Learn about the copilot status and how to fix issues.
ms.date: 4/09/2024
title: Troubleshoot GitHub Copilot state
description: Learn how to use the GitHub Copilot badge in the Visual Studio IDE to troubleshoot copilot state and resolve common issues.
ms.date: 7/29/2024
ms.topic: troubleshooting-problem-resolution
author: anandmeg
ms.author: meghaanand
Expand All @@ -13,7 +13,7 @@ monikerRange: vs-2022

# Troubleshoot GitHub Copilot in Visual Studio

This troubleshooting guide includes instructions to resolve issues with GitHub Copilot in Visual Studio 2022 version 17.10 Preview 3 or later.
This troubleshooting guide includes instructions to resolve issues with GitHub Copilot in Visual Studio 2022 version 17.10 or later.

The GitHub Copilot badge in the upper-right corner of the Visual Studio environment showing the message **Copilot is temporarily unreachable** indicates GitHub Copilot is offline.

Expand Down