Skip to content

Commit 3fe6f68

Browse files
committed
Merged main into live
2 parents 634cc2e + 31ff36f commit 3fe6f68

11 files changed

+16
-11
lines changed

docs/ide/outlining.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Collapse and expand regions of code
33
description: Use the expand and collapse commands in the Visual Studio integrated development environment (IDE) to work in outline mode.
4-
ms.date: 05/31/2024
4+
ms.date: 9/13/2024
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- outlining
@@ -28,7 +28,7 @@ To collapse an outlining region, double-click any line in the region on the outl
2828

2929
:::image type="content" source="media/outlining-example-2022.png" alt-text="Screenshot of an example of collapsed code that shows the outlining margin and an example of the expanded code visible from a tooltip.":::
3030

31-
Regions in the outlining margin are also highlighted when you hover over the margin with the mouse. The default highlighting color might seem rather faint in some color configurations. You can change it in **Tools** > **Options** > **Environment** > **Fonts and Colors** > **Collapsible Region**.
31+
Regions in the outlining margin are also highlighted when you hover over the margin with the mouse. The default highlighting color might seem rather faint in some color configurations. You can change it in **Tools** > **Options** > **Environment** > **Fonts and Colors** > **Display items** > **Collapsible Region**.
3232

3333
When you work in outlined code, you can expand the sections you want to work on, collapse them when you're done, and then move to other sections. When you don't want to have outlining displayed, you can use the **Stop Outlining** command to remove the outline information without disturbing your underlying code.
3434

docs/ide/visual-studio-github-copilot-admin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Admin controls for GitHub Copilot in Visual Studio
33
description: Learn about the new features for administrators in GitHub Copilot for Visual Studio that enable admins to manage Copilot effectively.
4-
ms.date: 8/27/2024
4+
ms.date: 9/12/2024
55
ms.topic: how-to
66
author: anandmeg
77
ms.author: meghaanand
@@ -13,7 +13,7 @@ monikerRange: vs-2022
1313

1414
# Admin controls for GitHub Copilot
1515

16-
Visual Studio 2022 introduces new features for administrators to configure and manage GitHub Copilot for their enterprise effectively. These features provide administrators greater control over the use of Copilot within their organization. Admins can disable Copilot
16+
Visual Studio 2022 introduces new features for administrators to configure and manage GitHub Copilot for their enterprise effectively. These features provide administrators greater control over the use of Copilot within their organization. Admins can disable Copilot for individual accounts or disable it altogether, and configure content exclusion to prevent certain files from being available to Copilot in Visual Studio.
1717

1818
In this article, you learn how to:
1919
- [Disable Copilot](#disabling-copilot-for-individual-enterprise-visual-studio-accounts)

docs/ide/visual-studio-github-copilot-install-and-states.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Install and manage GitHub Copilot in Visual Studio
33
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.
4-
ms.date: 7/29/2024
4+
ms.date: 9/12/2024
55
ms.topic: install-set-up-deploy
66
author: anandmeg
77
ms.author: meghaanand
@@ -112,7 +112,7 @@ If [Copilot is disabled by your administrator](visual-studio-github-copilot-trou
112112

113113
### Copilot is unavailable
114114

115-
If Copilot is installed but unavailable for use, it may be due to network connectivity issues, server-side technical problems, or an expired service plan. In this state, Copilot doesn't provide its usual services until the external issues are resolved.
115+
If Copilot is installed but unavailable for use, it may be due to [network connectivity issues](visual-studio-github-copilot-troubleshoot.md#network-issues), [server-side technical problems](visual-studio-github-copilot-troubleshoot.md#copilot-service-is-unavailable), or an expired service plan. In this state, Copilot doesn't provide its usual services until the external issues are resolved.
116116

117117
Select **Copilot is unreachable** in the dropdown menu to open the **Troubleshooting** page on diagnosing and resolving common network errors with GitHub Copilot. When the issue is resolved and you're signed in with an active subscription, the Copilot status icon updates to [active](#copilot-is-active).
118118

docs/python/configure-web-apps-for-iis-windows.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The `web.config` file for your Python application instructs the IIS web server (
2929

3030
If your project does not already contain a `web.config` file, you can add one by right-clicking the project directory, selecting **Add > New Item** and searching for `web.config` or creating a blank `web.config` XML file.
3131

32-
### Configure the HttpPlatformHandler
32+
### Option 1 : Configure the HttpPlatformHandler
3333

3434
The HttpPlatform module passes socket connections directly to a standalone Python process. This pass-through allows you to run any web server you like, but it requires a startup script that runs a local web server. This approach is commonly done by using a Python web framework, such as Flask or Django. You specify the script in the `<httpPlatform>` element of the `web.config` file. The `processPath` attribute points to the site extension's Python interpreter. The `arguments` attribute points to your startup script that runs a local web server, in this case `runserver.py`, and any arguments you want to provide:
3535

@@ -56,12 +56,12 @@ The HttpPlatform module passes socket connections directly to a standalone Pytho
5656

5757
In this example, the `HTTP_PLATFORM_PORT` environment variable contains the port that your local server should listen on for connections from `localhost`. This example also shows how to create another environment variable, `SERVER_PORT`. You can create and assign environment variables as needed.
5858

59-
### Configure the FastCGI handler
59+
### Option 2 : Configure the FastCGI handler
6060

61-
FastCGI is an interface that works at the request level. IIS receives incoming connections and forwards each request to a WSGI app running in one or more persistent Python processes.
61+
Alternatively, you can use FastCGI to configure your apps. FastCGI is an interface that works at the request level. IIS receives incoming connections and forwards each request to a WSGI app running in one or more persistent Python processes.
6262

6363
> [!NOTE]
64-
> We recommend using **HttpPlatformHandler** to configure your apps, as the [WFastCGI](https://pypi.org/project/wfastcgi/) project is no longer maintained.
64+
> Although you can set your project up using FastCGI, we recommend using **HttpPlatformHandler** to configure your apps, as the [WFastCGI](https://pypi.org/project/wfastcgi/) project is no longer maintained and may result in bugs.
6565
6666
To use FastCGI, first install and configure the wfastcgi package as described in [pypi.org/project/wfastcgi/](https://pypi.io/project/wfastcgi).
6767

docs/python/debugging-python-in-visual-studio.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ The following table summarizes these commands and provides the keyboard shortcut
9191

9292
| Command | Shortcut | Description |
9393
| --- | --- | --- |
94+
| **Stop** | **Shift + F5** | Stop the debugging session. |
95+
| **Restart** | **Ctrl + Shift + F5** | Restart the current debugging session. |
9496
| **Continue** | **F5** | Run code until you reach the next breakpoint. |
9597
| **Step Into** | **F11** | Run the next statement and stop. If the next statement is a call to a function, the debugger stops at the first line of the called function. |
9698
| **Step Over** | **F10** | Run the next statement, including making a call to a function (running all its code) and applying any return value. This command allows you to easily skip functions that you don't need to debug. |

docs/python/installing-python-support-in-visual-studio.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Python support is available only on Visual Studio for Windows. On Mac and Linux,
2020

2121
- Visual Studio on Windows. To install the product, follow the steps in [Install Visual Studio](../install/install-visual-studio.md).
2222

23+
> [!NOTE]
24+
> You also need a Python interpreter installed in order to work with Python in Visual Studio. We recommend installing one from [python.org](https://www.python.org/downloads/) or Anaconda. For more information on Python interpreters, see [Installing Python Interpreters](installing-python-interpreters.md).
25+
2326
## Download and install the Python workload
2427

2528
Complete the following steps to download and install the Python workload.

docs/python/profiling-python-code-in-visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Visual Studio for Mac isn't supported. For more information, see [What's happeni
2929

3030
## Use profiler with CPython-based interpreter
3131

32-
When you profile a Python application, Visual Studio collects data for the lifetime of the process.
32+
When you profile a Python application, Visual Studio collects data for the lifetime of the process, measured in milliseconds (ms).
3333

3434
Follow these steps to start working with the profiling features in Visual Studio:
3535

0 commit comments

Comments
 (0)