From a70d34cb62f8572f72395afea43b32a3b3f7513d Mon Sep 17 00:00:00 2001 From: Michal Konturek Date: Mon, 23 Feb 2026 16:37:31 +0000 Subject: [PATCH] docs: add macOS keyboard shortcut equivalents to README files Add macOS (Cmd) alternatives alongside existing Windows/Linux (CTRL) shortcuts in the CSharp and Python Copilot README files. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Using-GitHub-Copilot-with-CSharp/README.md | 4 ++-- Using-GitHub-Copilot-with-Python/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Using-GitHub-Copilot-with-CSharp/README.md b/Using-GitHub-Copilot-with-CSharp/README.md index bdc6b1a..b31a6ea 100644 --- a/Using-GitHub-Copilot-with-CSharp/README.md +++ b/Using-GitHub-Copilot-with-CSharp/README.md @@ -138,7 +138,7 @@ The output should be similar to this: New file customer.cs -From the top of the editor, press `CTRL + I` to open inline chat and type (or copy) in: +From the top of the editor, press `CTRL + I` (macOS: `Cmd + I`) to open inline chat and type (or copy) in: ```csharp // Create a class for a Customer with Id, Name, and Email, and a method to validate email format @@ -155,7 +155,7 @@ Review the suggestions from Copilot and verify the output. **Note:** It is impor Validate Regex -6. You can further highlight the method and ask inline (or select `CTRL + Shift + I`) to open chat and ask Copilot 'Explain what IsValidEmail() does'. This provides another way to interact with Copilot, verify it's output and to further understand the code that is written. +6. You can further highlight the method and ask inline (or select `CTRL + Shift + I` (macOS: `Cmd + Shift + I`)) to open chat and ask Copilot 'Explain what IsValidEmail() does'. This provides another way to interact with Copilot, verify it's output and to further understand the code that is written. 7. While Inline suggestions are great at suggesting code similar to an autocomplete mechanism, Next Edit Suggestions (NES) predict the next logical change in your code based on recent edits anywhere in your file. This helps to maintain flow and consistency as a developer. NES suggests revisions to your code, comments and event tests. It can track recent changes to anticipate future edits, working across multiple lines and symbols. It will highlight suggestions with arrows in the editor gutter. In the above steps you may have already noticed a green arrow in the gutter, providing a suggestion and the ability to accept or decline the suggestion. diff --git a/Using-GitHub-Copilot-with-Python/README.md b/Using-GitHub-Copilot-with-Python/README.md index a4e7fad..928ca9a 100644 --- a/Using-GitHub-Copilot-with-Python/README.md +++ b/Using-GitHub-Copilot-with-Python/README.md @@ -104,7 +104,7 @@ The output should be similar to this: Create a Pydantic model -2. Now we want to use the inline feature of Copilot. When using the inline feature we can focus on the code in front of us and make progressive changes in our code base. Next, we are going to generate a new endpoint at the bottom of the `main.py` file. Place your cursor under the last route that was created and press `CTRL + I` to open inline chat. Type or copy in the following text: +2. Now we want to use the inline feature of Copilot. When using the inline feature we can focus on the code in front of us and make progressive changes in our code base. Next, we are going to generate a new endpoint at the bottom of the `main.py` file. Place your cursor under the last route that was created and press `CTRL + I` (macOS: `Cmd + I`) to open inline chat. Type or copy in the following text: ```python # Create a FastAPI endpoint that accepts a POST request with a JSON body containing a single field called "text" and returns a checksum of the text