Skip to content

Commit 5e2cb6c

Browse files
Merge pull request #277089 from ggailey777/vs-code
[Functions] UI cleanup for VS Code
2 parents 9354009 + 614f61e commit 5e2cb6c

9 files changed

+21
-37
lines changed

articles/azure-functions/create-first-function-vs-code-csharp.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Create a C# function using Visual Studio Code - Azure Functions"
33
description: "Learn how to create a C# function, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code. "
44
ms.topic: quickstart
5-
ms.date: 01/05/2023
5+
ms.date: 06/03/2024
66
ms.devlang: csharp
77
ms.custom: devx-track-csharp, mode-ui, vscode-azure-extension-update-complete, ai-video-demo
88
ai-usage: ai-assisted
@@ -33,9 +33,7 @@ Before you get started, make sure you have the following requirements in place:
3333

3434
In this section, you use Visual Studio Code to create a local Azure Functions project in C#. Later in this article, you'll publish your function code to Azure.
3535

36-
1. Choose the Azure icon in the Activity bar, then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
37-
38-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
36+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
3937

4038
1. Select the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
4139

articles/azure-functions/create-first-function-vs-code-java.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a Java function using Visual Studio Code - Azure Functions
33
description: Learn how to create a Java function, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 08/03/2023
5+
ms.date: 06/03/2024
66
adobe-target: true
77
adobe-target-activity: DocsExp–386541–A/B–Enhanced-Readability-Quickstarts–2.19.2021
88
adobe-target-experience: Experience B
@@ -36,9 +36,7 @@ Before you get started, make sure you have the following requirements in place:
3636

3737
In this section, you use Visual Studio Code to create a local Azure Functions project in Java. Later in this article, you'll publish your function code to Azure.
3838

39-
1. Choose the Azure icon in the Activity bar. Then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
40-
41-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
39+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
4240

4341
1. Choose the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
4442

articles/azure-functions/create-first-function-vs-code-node.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a JavaScript function using Visual Studio Code - Azure Functions
33
description: Learn how to create a JavaScript function, then publish the local Node.js project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 08/03/2023
5+
ms.date: 06/03/2024
66
adobe-target: true
77
adobe-target-activity: DocsExp–386541–A/B–Enhanced-Readability-Quickstarts–2.19.2021
88
adobe-target-experience: Experience B
@@ -39,9 +39,7 @@ Before you get started, make sure you have the following requirements in place:
3939

4040
In this section, you use Visual Studio Code to create a local Azure Functions project in JavaScript. Later in this article, you publish your function code to Azure.
4141

42-
1. Choose the Azure icon in the Activity bar. Then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
43-
44-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
42+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
4543

4644
2. Choose the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
4745

articles/azure-functions/create-first-function-vs-code-other.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a function in Go or Rust using Visual Studio Code - Azure Functions
33
description: Learn how to create a Go function as an Azure Functions custom handler, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 08/03/2023
5+
ms.date: 06/03/2024
66
ms.devlang: golang
77
# ms.devlang: golang, rust
88
ms.custom: mode-api, vscode-azure-extension-update-complete
@@ -50,9 +50,7 @@ Before you get started, make sure you have the following requirements in place:
5050

5151
In this section, you use Visual Studio Code to create a local Azure Functions custom handlers project. Later in this article, you'll publish your function code to Azure.
5252

53-
1. Choose the Azure icon in the Activity bar. Then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
54-
55-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
53+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
5654

5755
1. Choose the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
5856

articles/azure-functions/create-first-function-vs-code-powershell.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a PowerShell function using Visual Studio Code - Azure Functions
33
description: Learn how to create a PowerShell function, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 06/22/2022
5+
ms.date: 06/03/2024
66
ms.devlang: powershell
77
ms.custom: mode-api, vscode-azure-extension-update-complete
88
---
@@ -29,9 +29,7 @@ Before you get started, make sure you have the following requirements in place:
2929

3030
In this section, you use Visual Studio Code to create a local Azure Functions project in PowerShell. Later in this article, you'll publish your function code to Azure.
3131

32-
1. Choose the Azure icon in the Activity bar. Then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
33-
34-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
32+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
3533

3634
1. Choose the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
3735

articles/azure-functions/create-first-function-vs-code-python.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a Python function using Visual Studio Code - Azure Functions
33
description: Learn how to create a Python function, then publish the local project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 03/01/2024
5+
ms.date: 06/03/2024
66
ms.devlang: python
77
ms.custom: devx-track-python, mode-api, devdivchpfy22, vscode-azure-extension-update-complete, ai-video-demo
88
ai-usage: ai-assisted
@@ -45,9 +45,7 @@ Before you begin, make sure that you have the following requirements in place:
4545

4646
In this section, you use Visual Studio Code to create a local Azure Functions project in Python. Later in this article, you publish your function code to Azure.
4747

48-
1. Choose the Azure icon in the Activity bar. Then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
49-
50-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
48+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
5149

5250
2. Choose the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
5351

articles/azure-functions/create-first-function-vs-code-typescript.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a TypeScript function using Visual Studio Code - Azure Functions
33
description: Learn how to create a TypeScript function, then publish the local Node.js project to serverless hosting in Azure Functions using the Azure Functions extension in Visual Studio Code.
44
ms.topic: quickstart
5-
ms.date: 02/06/2023
5+
ms.date: 06/03/2024
66
ms.devlang: typescript
77
ms.custom: mode-ui, vscode-azure-extension-update-complete, devx-track-js, devx-track-ts
88
zone_pivot_groups: functions-nodejs-model
@@ -46,11 +46,9 @@ Before you get started, make sure you have the following requirements in place:
4646

4747
## <a name="create-an-azure-functions-project"></a>Create your local project
4848

49-
In this section, you use Visual Studio Code to create a local Azure Functions project in TypeScript. Later in this article, you publish your function code to Azure.
50-
51-
1. Choose the Azure icon in the Activity bar. Then in the **Workspace (local)** area, select the **+** button, choose **Create Function** in the dropdown. When prompted, choose **Create new project**.
52-
53-
:::image type="content" source="./media/functions-create-first-function-vs-code/create-new-project.png" alt-text="Screenshot of create a new project window.":::
49+
In this section, you use Visual Studio Code to create a local Azure Functions project in TypeScript. Later in this article, you publish your function code to Azure.
50+
51+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create New Project...`.
5452

5553
2. Choose the directory location for your project workspace and choose **Select**. You should either create a new folder or choose an empty folder for the project workspace. Don't choose a project folder that is already part of a workspace.
5654

includes/functions-create-azure-resources-vs-code.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
author: ggailey777
33
ms.service: azure-functions
44
ms.topic: include
5-
ms.date: 06/20/2022
5+
ms.date: 06/03/2024
66
ms.author: glenga
77
ms.custom: devdivchpfy22
88
---
99

1010
In this section, you create a function app and related resources in your Azure subscription.
1111

12-
1. Choose the Azure icon in the Activity bar. Then in the **Resources** area, select the **+** icon and choose the **Create Function App in Azure** option.
13-
14-
![Create a resource in your Azure subscription](media/functions-publish-project-vscode/function-app-create-resource.png)
12+
1. In Visual Studio Code, press <kbd>F1</kbd> to open the command palette and search for and run the command `Azure Functions: Create Function App in Azure...`.
1513

1614
1. Provide the following information at the prompts:
1715

includes/functions-deploy-project-vs-code.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
author: ggailey777
33
ms.service: azure-functions
44
ms.topic: include
5-
ms.date: 11/29/2023
5+
ms.date: 06/03/2024
66
ms.author: glenga
77
ms.custom: devdivchpfy22
88
---
99

1010
> [!IMPORTANT]
1111
> Deploying to an existing function app always overwrites the contents of that app in Azure.
1212
13-
1. In the **Resources** area of the Azure activity, locate the function app resource you just created, right-click the resource, and select **Deploy to function app...**.
13+
1. In the command palette, search for and run the command `Azure Functions: Deploy to Function App...`.
1414

15-
1. When prompted about overwriting previous deployments, select **Deploy** to deploy your function code to the new function app resource.
15+
1. Select the function app you just created. When prompted about overwriting previous deployments, select **Deploy** to deploy your function code to the new function app resource.
1616

1717
1. After deployment completes, select **View Output** to view the creation and deployment results, including the Azure resources that you created. If you miss the notification, select the bell icon in the lower right corner to see it again.
1818

0 commit comments

Comments
 (0)