Skip to content

Commit f440e2f

Browse files
authored
Merge pull request #230 from michalkonturek/add-macos-keyboard-shortcuts
docs: add macOS keyboard shortcut equivalents
2 parents 356b43d + a70d34c commit f440e2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Using-GitHub-Copilot-with-CSharp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The output should be similar to this:
138138
<img src="./images/007customerfile.png" alt="New file customer.cs">
139139
</div>
140140

141-
From the top of the editor, press `CTRL + I` to open inline chat and type (or copy) in:
141+
From the top of the editor, press `CTRL + I` (macOS: `Cmd + I`) to open inline chat and type (or copy) in:
142142

143143
```csharp
144144
// 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
155155
<img src="./images/008regexvalid.jpg" alt="Validate Regex">
156156
</div>
157157

158-
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.
158+
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.
159159

160160
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.
161161

Using-GitHub-Copilot-with-Python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The output should be similar to this:
104104
<img src="./images/004pydanticmodel.jpg" alt="Create a Pydantic model">
105105
</div>
106106

107-
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:
107+
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:
108108

109109
```python
110110
# 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

0 commit comments

Comments
 (0)