Skip to content

Commit d1e2842

Browse files
Update Xcode source completion sample (#35724)
Co-authored-by: Felicity Chapman <[email protected]>
1 parent c44092c commit d1e2842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ This guide demonstrates how to get coding suggestions from {% data variables.pro
445445
{% data variables.product.prodname_copilot %} offers coding suggestions as you type. For example, type this function
446446
signature in a Swift file:
447447

448-
```shell copy
449-
func CalculateDaysBetweenDates(
448+
```swift copy
449+
func calculateDaysBetweenDates(
450450
```
451451

452452
{% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text. To accept the first line of a suggestion, press <kbd>Tab</kbd>. To view the full suggestion, hold <kbd>Option</kbd>, and to accept the full suggestion, press <kbd>Option</kbd>+<kbd>Tab</kbd>.

0 commit comments

Comments
 (0)