diff --git a/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md b/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md
index d81a79519dde..2a212f61602b 100644
--- a/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md
+++ b/content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md
@@ -445,8 +445,8 @@ This guide demonstrates how to get coding suggestions from {% data variables.pro
{% data variables.product.prodname_copilot %} offers coding suggestions as you type. For example, type this function
signature in a Swift file:
-```shell copy
-func CalculateDaysBetweenDates(
+```swift copy
+func calculateDaysBetweenDates(
```
{% data variables.product.prodname_copilot %} will automatically suggest an entire function body in grayed text. To accept the first line of a suggestion, press Tab. To view the full suggestion, hold Option, and to accept the full suggestion, press Option+Tab.