You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/wwl-azure/develop-code-features-using-github-copilot-tools/includes/2-examine-code-development-features-github-copilot.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Providing GitHub Copilot Chat with prompts or questions that include a clear sco
50
50
You can use chat participants, slash commands, and chat variables to clarify the context of your prompts.
51
51
52
52
- Chat participants, such as `@workspace` or `@terminal`, help GitHub Copilot Chat understand the context of your question.
53
-
- Slash commands, such as `/explain` or `/new`, help Copilot Chat understand the intent or purpose of your question.
53
+
- Slash commands, such as `/explain` or `/new`, help GitHub Copilot Chat understand the intent or purpose of your question.
54
54
- Chat variables, such as `#file` or `#editor`, help Copilot Chat focus on something specific when considering the larger context of your question.
55
55
56
56
Using these specialized descriptors helps GitHub Copilot Chat generate more accurate and useful responses.
@@ -65,7 +65,7 @@ GitHub Copilot can scaffold more complex workspaces. For example, the following
65
65
66
66
The Chat view in Visual Studio Code provides access to an AI assistant that helps you develop code. You can ask questions and get help from your AI assistant without leaving the Visual Studio Code environment. The Chat view provides assistance when you're developing code and when you're exploring approaches to solving difficult coding problems. You can also use the Chat view to ask questions about existing code, to get help with errors or coding logic, and to get information about using project resources. The Chat view can help you learn new coding techniques, explore different coding styles, and improve your coding skills.
67
67
68
-
The Chat view opens in its own panel to the right of Visual Studio Code's code editor. To open the Chat view, select **Open Chat** from the Visual Studio Code Command Center or use the **Ctrl+Alt+I** keyboard shortcut.
68
+
The Chat view opens in its own panel to the right of Visual Studio Code's code editor. To open the Chat view, select **Chat** from the Visual Studio Code title bar or use the **Ctrl+Alt+I** keyboard shortcut.
69
69
70
70

71
71
@@ -91,13 +91,13 @@ GitHub Copilot maintains a history of your conversation. The history is used to
91
91
92
92
Depending on your question, GitHub Copilot Chat may return source code in the response. Source code is displayed as a code block, and you can manage the code in a few different ways.
93
93
94
-
If you hover the mouse pointer over the code block, options for managing the code block are displayed. Your initial options are **Apply in Editor**, **Insert At Cursor (Ctrl+Enter)**, and **Copy**.
94
+
If you hover the mouse pointer over the code block, options for managing the code block are displayed. Your initial options are **Apply**, **Insert (Ctrl+Enter)**, and **Copy**.
95
95
96
96

97
97
98
98
The More Actions (...) button displays the options to **Insert into Terminal (Ctrl+Alt+Enter)** and **Insert into New File**.
99
99
100
-
If Copilot Chat detects that a code block contains a command, you can run it directly in the integrated terminal with **Insert into Terminal (Ctrl+Alt+Enter)**. This option creates or opens the active terminal and inserts the command text, ready for you to run.
100
+
If GitHub Copilot Chat detects that a code block contains a command, you can run it directly in the integrated terminal with **Insert into Terminal (Ctrl+Alt+Enter)**. This option creates or opens the active terminal and inserts the command text, ready for you to run.
101
101
102
102

103
103
@@ -123,7 +123,7 @@ You can create a new code feature using inline chat by completing the following
123
123
124
124
1. Enter a prompt that describes the feature you want to create.
125
125
126
-
1. Review the suggestions provided by Copilot Chat, and refine your prompt if necessary.
126
+
1. Review the suggestions provided by GitHub Copilot Chat, and refine your prompt if necessary.
127
127
128
128
1. Once you're satisfied, accept a suggestion.
129
129
@@ -145,15 +145,15 @@ You can create a regular expression using inline chat by completing the followin
145
145
146
146
1. Enter a prompt that describes the data pattern you need to validate.
147
147
148
-
1. Review the suggestions provided by Copilot Chat, and once you're satisfied, accept a suggestion.
148
+
1. Review the suggestions provided by GitHub Copilot Chat, and once you're satisfied, accept a suggestion.
149
149
150
150
Here's an example that demonstrates how to create a regular expression for email addresses using inline chat:
151
151
152
152

153
153
154
154
It's always important to review the responses generated by GitHub Copilot Chat.
155
155
156
-
Copilot Chat suggests the following regular expression can be used to validate email addresses: `^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$`.
156
+
GitHub Copilot Chat suggests the following regular expression can be used to validate email addresses: `^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$`.
157
157
158
158
Let's take a minute to evaluate the suggested regular expression.
0 commit comments