Skip to content

Commit 8cc2895

Browse files
huypuberinstellato-msWilliamDAssafMSFTPMEds28prmerger-automator[bot]
authored
Release data studio--scheduled release at 10:30 AM of 5/24 (#27160)
* ADS 1.44 Release Notes * ADS 1.44 Connect page changes * Add ADS as delete DB option * 20230520 refresh article with edit pass * fixed spacing * updated correctness * starting copilot docs * completing doc * removing AI attribution includes * scorecard boost * fixing headers * fixes --------- Co-authored-by: erinstellato-ms <98599126+erinstellato-ms@users.noreply.github.com> Co-authored-by: William Assaf MSFT <wiassaf@microsoft.com> Co-authored-by: Paula Miller <v-paulmi@microsoft.com> Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com> Co-authored-by: Diana Richards <103777760+v-dirichards@users.noreply.github.com> Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com> Co-authored-by: Anna Huff <92125952+AnnaMHuff@users.noreply.github.com> Co-authored-by: Alma Jenks <v-alje@microsoft.com>
1 parent 7c0814f commit 8cc2895

10 files changed

Lines changed: 245 additions & 96 deletions

File tree

‎docs/azure-data-studio/connect.md‎

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Explains the connection parameters to connect to an instance of SQL
44
author: erinstellato-ms
55
ms.author: erinstellato
66
ms.reviewer: "maghan"
7-
ms.date: 11/15/2022
7+
ms.date: 05/24/2023
88
ms.service: azure-data-studio
99
ms.topic: "how-to"
1010
---
@@ -13,22 +13,33 @@ ms.topic: "how-to"
1313

1414
This article describes how to connect to SQL Server with Azure Data Studio 1.40 and higher.
1515

16+
## Sql Authentication Provider
17+
18+
Azure Data Studio 1.44 and later defaults to use the Sql Authentication Provider for Azure SQL connections and the [Microsoft Authentication Library (MSAL)](/azure/active-directory/develop/msal-overview). This provider is used with Active Directory Interactive authentication mode and enables server-side resource endpoint integration when fetching access tokens.
19+
20+
After a user upgrades to Azure Data Studio 1.44 and higher, the initial launch of the application will display the following message:
21+
22+
--change this below
23+
:::image type="content" source="connect/connect-update-after-upgrade-no-tenant.png" alt-text="Screenshot of message about tenant list box removal after upgrading Azure Data Studio.":::
24+
25+
With the Sql Authentication Provider, selection of a tenant is no longer required. The Azure AD tenant list box has been removed from the Connection dialog because it's now handled by the underlying driver. This change also allows for improved token refresh for Azure SQL Database connections.
26+
27+
The **Mssql: Enable Sql Authentication Provider** option can be disabled within **File** > **Preferences** > **Settings**.
28+
1629
## Encrypt and Trust server certificate
1730

1831
Azure Data Studio 1.40 and later includes an important change to the **Encrypt** property, which is now enabled (set to **True**) by default for MSSQL provider connections, and SQL Server must be configured with TLS certificates signed by a trusted root certificate authority. In addition, the **Encrypt** and **Trust server certificate** properties have moved from the **Advanced** pane to the front of the **Connection Details** pane. Both properties have information icons to provide more detail on hover. The [best practice](../relational-databases/security/securing-sql-server.md) is to support a trusted encrypted connection to the server.
1932

20-
For users connecting to Azure SQL Database, no changes to existing, saved connections in Azure Data Studio are needed; Azure SQL Database supports encrypted connections and is configured with trusted certificates.
33+
For users connecting to Azure SQL Database, no changes to existing, saved connections in Azure Data Studio are needed; Azure SQL Database supports encrypted connections and is configured with trusted certificates.
2134

22-
For users connecting to on-premises SQL Server, or SQL Server in a Virtual Machine, if **Encrypt** is set to **True**, ensure that you have a certificate from a trusted certificate authority (e.g. not a self-signed certificate). Alternatively, you may choose to connect without encryption (**Encrypt** set to **False**), or to trust the server certificate (**Encrypt** set to **True** and **Trust server certificate** set to **True**).
35+
For users connecting to on-premises SQL Server, or SQL Server in a Virtual Machine, if **Encrypt** is configured with a value of **True**, ensure that you have a certificate from a trusted certificate authority (e.g. not a self-signed certificate). Alternatively, you may choose to connect without encryption (**Encrypt** set to **False**), or to trust the server certificate (**Encrypt** set to **True** and **Trust server certificate** set to **True**).
2336

2437
## New installation of Azure Data Studio 1.40 and higher
2538

2639
For workstations with a new installation:
2740

2841
1. Select **New Connection** on the **Welcome** page to open the **Connection** pane.
29-
2. From the **Connection** pane, select **Servers** > **New Connection**.
30-
31-
Azure Data Studio shows **Connection Details**.
42+
2. From the **Connection** pane, select **Servers** > **New Connection**. Azure Data Studio shows **Connection Details**.
3243

3344
:::image type="content" source="connect/connect-connection-details.png" alt-text="Screenshot of Connection Details.":::
3445

@@ -47,7 +58,7 @@ For workstations with a new installation:
4758

4859
## Connections after upgrading to Azure Data Studio 1.40 and higher
4960

50-
After upgrading to Azure Data Studio 1.40 and higher, the initial launch of the application will display the following message:
61+
After a user upgrades to Azure Data Studio 1.40 and higher, the initial launch of the application will display the following message:
5162

5263
:::image type="content" source="connect/connect-import-update-after-upgrade.png" alt-text="Screenshot of important update message after upgrading Azure Data Studio.":::
5364

@@ -57,7 +68,7 @@ You should review the options selected for **Encrypt** and **Trust server certif
5768

5869
These changes are the result of updates at the driver level in Microsoft.Data.SqlClient. Recent releases of Microsoft.Data.SqlClient have offered increased security in the connection options. Read more in the [release notes](../connect/ado-net/introduction-microsoft-data-sqlclient-namespace.md) for Microsoft.Data.SqlClient.
5970

60-
If you have previously been connecting to a SQL Server that does not have encrypted connections enable and would like to enable encryption, you will be prompted to trust server certificate. You may choose to connect with the 'Trust Server Certificate' property enabled, or cancel and review client configuration to verify a valid server certificate is installed. For more information, please visit the [SQL Server documentation](../database-engine/configure-windows/configure-sql-server-encryption.md).
71+
If you have previously been connecting to a SQL Server that doesn't have encrypted connections enable and would like to enable encryption, you'll be prompted to trust server certificate. You may choose to connect with the 'Trust Server Certificate' property enabled, or cancel and review client configuration to verify a valid server certificate is installed. For more information, please visit the [SQL Server documentation](../database-engine/configure-windows/configure-sql-server-encryption.md).
6172

6273
## Next steps
6374

31.9 KB
Loading

‎docs/azure-data-studio/download-azure-data-studio.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Download and install Azure Data Studio for Windows, macOS, or Linux
44
author: erinstellato-ms
55
ms.author: erinstellato
66
ms.reviewer: maghan, randolphwest
7-
ms.date: 04/12/2023
7+
ms.date: 05/24/2023
88
ms.service: azure-data-studio
99
ms.topic: overview
1010
ms.custom: intro-overview
@@ -21,20 +21,20 @@ For more information about Azure Data Studio, visit [What is Azure Data Studio?]
2121

2222
## Download Azure Data Studio
2323

24-
Azure Data Studio 1.43.0 is the latest general availability (GA) version.
24+
Azure Data Studio 1.44.0 is the latest general availability (GA) version.
2525

26-
- Release number: 1.43.0
27-
- Release date: April 12, 2023
26+
- Release number: 1.44.0
27+
- Release date: May 24, 2023
2828

2929
| Platform | Type | Download |
3030
| --- | --- | --- |
31-
| Windows | User Installer | [64-bit](https://go.microsoft.com/fwlink/?linkid=2231303)&emsp;[ARM64](https://go.microsoft.com/fwlink/?linkid=2231304) |
32-
| | System Installer | [64-bit](https://go.microsoft.com/fwlink/?linkid=2230943)&emsp;[ARM64](https://go.microsoft.com/fwlink/?linkid=2231305) |
33-
| | .zip | [64 bit](https://go.microsoft.com/fwlink/?linkid=2230772)&emsp;[ARM64](https://go.microsoft.com/fwlink/?linkid=2230944) |
34-
| Linux | .tar.gz | [64-bit](https://go.microsoft.com/fwlink/?linkid=2230775) |
35-
| | .deb | [64-bit](https://go.microsoft.com/fwlink/?linkid=2231306) |
36-
| | .rpm | [64-bit](https://go.microsoft.com/fwlink/?linkid=2230946) |
37-
| macOS | .zip | [Universal](https://go.microsoft.com/fwlink/?linkid=2230945)&emsp;[Intel Chip](https://go.microsoft.com/fwlink/?linkid=2230774)&emsp;[Apple Silicon](https://go.microsoft.com/fwlink/?linkid=2230773) |
31+
| Windows | User Installer | [64-bit](https://go.microsoft.com/fwlink/?linkid=2237020)&emsp;[ARM64](https://go.microsoft.com/fwlink/?linkid=2237126) |
32+
| | System Installer | [64-bit](https://go.microsoft.com/fwlink/?linkid=2237021)&emsp;[ARM64](https://go.microsoft.com/fwlink/?linkid=2237207) |
33+
| | .zip | [64 bit](https://go.microsoft.com/fwlink/?linkid=2237022)&emsp;[ARM64](https://go.microsoft.com/fwlink/?linkid=2237023) |
34+
| Linux | .tar.gz | [64-bit](https://go.microsoft.com/fwlink/?linkid=2237211) |
35+
| | .deb | [64-bit](https://go.microsoft.com/fwlink/?linkid=2237414) |
36+
| | .rpm | [64-bit](https://go.microsoft.com/fwlink/?linkid=2237415) |
37+
| macOS | .zip | [Universal](https://go.microsoft.com/fwlink/?linkid=2237210)&emsp;[Intel Chip](https://go.microsoft.com/fwlink/?linkid=2237208)&emsp;[Apple Silicon](https://go.microsoft.com/fwlink/?linkid=2237209) |
3838

3939
If you have comments or suggestions or want to report a problem with downloading Azure Data Studio, submit an issue to our team on the [Azure Data Studio feedback page](https://github.com/microsoft/azuredatastudio/issues/).
4040

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: GitHub Copilot extension
3+
description: Install and use the GitHub Copilot extension for Azure Data Studio.
4+
author: dzsquared
5+
ms.author: drskwier
6+
ms.reviewer: erinstellato
7+
ms.date: 5/24/2023
8+
ms.service: azure-data-studio
9+
ms.topic: conceptual
10+
---
11+
12+
# GitHub Copilot extension
13+
14+
[GitHub Copilot](https://github.com/features/copilot) is an AI-powered pair programmer extension for Azure Data Studio that provides you with context-aware code completions, suggestions, and even entire code snippets. This powerful tool helps developers write code more efficiently, reduce the time spent on repetitive tasks, and minimize errors.
15+
16+
## How GitHub Copilot works
17+
18+
GitHub Copilot works by utilizing advanced machine learning models trained on a vast dataset of publicly available code from GitHub repositories. As you type code, the AI analyzes the context and provides relevant suggestions in real-time. You can receive suggestions also by writing a natural language comment describing what you want the code to do.
19+
20+
The GitHub Copilot extension in Azure Data Studio uses context from the editor to provide suggestions. For example, if you're writing a query that joins two tables, GitHub Copilot suggests the join condition from columns in the open editor, other files in the workspace, and common syntax patterns.
21+
22+
### Works with IntelliSense
23+
24+
GitHub Copilot works with IntelliSense to provide suggestions for code completion. IntelliSense is a feature of Azure Data Studio that provides suggestions for code completion, parameter info, and object names. IntelliSense is enabled by default in Azure Data Studio and provides its suggestions based on the context of the current connection and all SQL syntax.
25+
26+
The suggestions provided by IntelliSense are completion of a single word or phrase. GitHub Copilot provides suggestions for entire lines of code, including syntax and formatting.
27+
28+
## What is GitHub Copilot
29+
30+
GitHub Copilot for Azure Data Studio can be used in any editor window. To use GitHub Copilot, you must have an active internet connection. You can use GitHub Copilot in the following ways:
31+
32+
1. By typing code in the editor, GitHub Copilot provides suggestions in real-time.
33+
2. By typing a natural language comment, GitHub Copilot provides suggestions for code that corresponds to the comment.
34+
35+
To accept a suggestion, press `tab`. To reject a suggestion, press `esc`.
36+
37+
At any time, pressing `ctrl+enter` opens the GitHub Copilot Completions Panel, which provides suggestions for code based on the context of the editor.
38+
39+
GitHub Copilot chat is not currently available for Azure Data Studio.
40+
41+
## Installing the GitHub Copilot extension
42+
43+
To get started, all you need is [Azure Data Studio 1.44](../release-notes-azure-data-studio.md#may-2023) or later, and a GitHub Copilot [subscription](https://docs.github.com/en/enterprise-cloud@latest/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot).
44+
45+
> [!TIP]
46+
> GitHub Copilot is free for verified students and for maintainers of popular open source projects on GitHub.
47+
48+
1. Select the Extensions Icon to view the available extensions.
49+
50+
![extension manager icon](media/add-extensions/extension-manager-icon.png)
51+
52+
2. Search for the **GitHub Copilot** extension and select it to view its details. Select **Install** to add the extension.
53+
54+
55+
## Using GitHub Copilot
56+
57+
### Copilot prompts for common SQL syntax
58+
59+
When you are creating T-SQL in an editor, Copilot can provide suggestions for common SQL syntax. For example, if you're writing a query that joins two tables, Copilot suggests the join condition from columns in the open editor, other files in the workspace, and common syntax patterns.
60+
61+
:::image type="content" source="media/github-copilot-extension/common-syntax.png" alt-text="Copilot prompting the autocompletion of a table join and where statement." border="true":::
62+
63+
### Copilot prompts from comments
64+
65+
Copilot's suggestions can be directed from comments in the editor, including natural language comments. For example, if you write a comment that describes a query, Copilot provides suggestions for the query.
66+
67+
:::image type="content" source="media/github-copilot-extension/code-suggestion-from-comment.png" alt-text="Copilot prompting the beginning of a PIVOT query." border="true":::
68+
69+
Copilot's suggestions may complete parts of the syntax required for the query, or may complete the entire query. In the example above, Copilot began the query to PIVOT the data. Below, Copilot completed the PIVOT query based on the comment.
70+
71+
:::image type="content" source="media/github-copilot-extension/code-suggestion-from-comment-2.png" alt-text="Copilot prompting the completion of a PIVOT query." border="true":::
72+
73+
### Seeing alternative suggestions
74+
75+
During Copilot use in a SQL editor, you can see alternative suggestions, if any are available, by pressing `alt+[` (or `option+[` on macOS) to cycle through the suggestions. The previous suggestion is shown by pressing `alt+]` (or `option+]` on macOS).
76+
77+
You can see multiple suggestions by pressing `ctrl+enter` to open the Copilot Completions Panel. The Copilot Completions Panel shows multiple suggestions for the current context of the editor.
78+
79+
80+
## Privacy
81+
82+
Your code is yours. We follow responsible practices in accordance with our [Privacy Statement](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement) to ensure that your code snippets will not be used as suggested code for other users of GitHub Copilot.
143 KB
Loading
113 KB
Loading
60.6 KB
Loading

0 commit comments

Comments
 (0)