Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b77788b

Browse files
committed
Fix typo
1 parent cbe94f7 commit b77788b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ssms/github-copilot/code-completions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For related information about GitHub Copilot Chat, see [Use the GitHub Copilot C
2424

2525
## How Code Completions work
2626

27-
Code Completions for GitHub Copilot in SSMS use 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. Context for GitHub Copilot in SSMS includes the schema for the database to which you're connected in the active editor, the contents of the current and all open editors. You can also obtain suggestions by writing a comment, often preceeded by `--`, in natural language that describes what you want the code to do.
27+
Code Completions for GitHub Copilot in SSMS use 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. Context for GitHub Copilot in SSMS includes the schema for the database to which you're connected in the active editor, the contents of the current and all open editors. You can also obtain suggestions by writing a comment, often preceded by `--`, in natural language that describes what you want the code to do.
2828

2929
## Prerequisites
3030

@@ -41,16 +41,18 @@ Code Completions for GitHub Copilot in SSMS supports the T-SQL language.
4141
As you type comments or T-SQL in the editor, GitHub Copilot provides context-aware code completions and suggestions.
4242

4343
1. Open SSMS and connect to your database in query editor.
44+
4445
1. In the editor, enter a comment to see inline code suggestions from GitHub Copilot:
4546

4647
```sql
4748
--list all tables in this database
4849
```
4950

5051
1. Select enter to see the suggestion.
52+
5153
1. To accept the suggestion, select <kbd>Tab</kbd>. To reject the suggestion, select <kbd>Esc</kbd> or continue typing.
5254

53-
Suggestions can also be accepted, either partially or entirely, with a mouse click starting in SSMS 22.3. To change the keyboard shortcut used to accept suggestions, go to **Tools** > **Options** > **All Settings** > **Text Editor** > **Code Completions** > **Preferences** > **Accept code compeltions using keyboard shortcuts**.
55+
Suggestions can also be accepted, either partially or entirely, with a mouse or other pointing device starting in SSMS 22.3. To change the keyboard shortcut used to accept suggestions, go to **Tools** > **Options** > **All Settings** > **Text Editor** > **Code Completions** > **Preferences** > **Accept code completions using keyboard shortcuts**.
5456

5557
## Shortcuts and settings
5658

0 commit comments

Comments
 (0)