Skip to content

Commit 5a61a59

Browse files
Merge pull request #11016 from MicrosoftDocs/main638912667191812313sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 002c9bc + a8cbdcb commit 5a61a59

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,19 @@ As you type code or comments in the editor, GitHub Copilot provides context-awar
8585
8686
:::image type="content" source="media/vs-2022/visual-studio-github-copilot-extension/github-copilot-whole-line-completions.gif" alt-text="Animated screenshot that shows using the GitHub Copilot completions in Visual Studio.":::
8787
88-
**Tips**
88+
## Tips and tricks
89+
90+
Keyboard shortcuts related to completions:
8991
9092
- Manually trigger a completion using <kbd>Alt</kbd>+<kbd>,</kbd>
9193
- Cycle through available completions using <kbd>Alt</kbd>+<kbd>.</kbd> (next) and <kbd>Alt</kbd>+<kbd>,</kbd> (previous)
94+
- Partially accept a completion word by word using <kbd>Ctrl</kbd>+<kbd>Right Arrow</kbd>
95+
- Partially accept a completion line by line using <kbd>Ctrl</kbd>+<kbd>Down Arrow</kbd>
96+
97+
Customize your completions experience with settings:
98+
99+
- If you feel like completions appear too quickly and interrupt your typing, go to **Tools** -> **Options** -> **IntelliCode** -> **Advanced** and enable **Wait for pauses in typing before showing whole line completions**. This setting adds a debounce delay, so completions won’t flash and disappear while you're typing quickly.
100+
- By default, completions are automatically triggered by each keystroke you type. To disable automatic completions, go to **Tools** -> **Options** -> **IntelliCode** -> **General** and turn off **Automatically generate code completions in the Editor**. Then, use <kbd>Alt</kbd>+<kbd>,</kbd> to manually trigger completions.
92101
93102
## Content exclusions
94103

0 commit comments

Comments
 (0)