Skip to content

Commit 5480d75

Browse files
committed
Add Python & notebook features
1 parent 2bf755b commit 5480d75

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

docs/copilot/copilot-vscode-features.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ Use Copilot to help fix coding problems and to get help with configuring and sta
147147
> - Provide additional information about the type of fix you need, such as optimizing the memory consumption or performance.
148148
> - Watch for Copilot Code Actions in the editor that indicate suggestions for fixing problems in your code.
149149
150+
## Scaffold a new project
151+
152+
Copilot can help you create a new project by generating a scaffold of the project structure, or generate a notebook based on your requirements.
153+
154+
| Action | Description |
155+
|--------|-------------|
156+
| `/new` | Use the `/new` command in the Chat view to scaffold a new project or a new file. Use natural language to describe the type of project/file you need, and preview the scaffolded content before creating it.<br/>Example: `/new Express app using typescript and svelte` |
157+
| `/newNotebook` | Use the `/newNotebook` command in the Chat view to generate a new Jupyter notebook based on your requirements. Use natural language to describe what the notebook should contain.<br/>Example: `/newNotebook get census data and preview key insights with Seaborn`. |
158+
150159
## Commit changes to source control
151160

152161
Copilot can analyze the changes in your commits and pull requests and provide suggestions for commit messages and pull request descriptions.
@@ -176,6 +185,16 @@ Get help about shell commands and how to resolve errors when running commands in
176185
| `@terminal` | Use the `@terminal` participant in the Chat View to ask questions about the integrated terminal or shell commands.<br/>Example: `@terminal list the 5 largest files in this workspace` |
177186
| `@terminal /explain` | Use the `/explain` command in the Chat View to explain something from the terminal.<br/>Example: `@terminal /explain top shell command` |
178187

188+
## Python and Notebook support
189+
190+
You can use Copilot Chat to help you with Python programming tasks in the Native Python REPL and in Jupyter notebooks.
191+
192+
| Action | Description |
193+
|--------|-------------|
194+
| <i class="codicon codicon-sparkle"></i> Generate<br/>`kb(inlinechat.start)` | Start Inline Chat in a notebook to generate a codeblock or Markdown block. |
195+
| `#` | Attach variables from the Jupyter kernel in your chat prompt to get more relevant responses. |
196+
| Native REPL + `kb(inlinechat.start)` | Start Inline Chat in the Native Python REPL and run the generated commands. |
197+
179198
## VS Code commands and APIs
180199

181200
You can use Copilot to get help about VS Code features, settings, and the VS Code extension APIs. Get more information about [chat participants](/docs/copilot/copilot-chat.md#chat-participants).
@@ -190,15 +209,6 @@ You can use Copilot to get help about VS Code features, settings, and the VS Cod
190209
>
191210
> - Use the `#vscodeAPI` chat variable if you're asking about the VS Code extension API.
192211
193-
## Scaffold a new project
194-
195-
Copilot can help you create a new project by generating a scaffold of the project structure, or generate a notebook based on your requirements.
196-
197-
| Action | Description |
198-
|--------|-------------|
199-
| `/new` | Use the `/new` command in the Chat view to scaffold a new project or a new file. Use natural language to describe the type of project/file you need, and preview the scaffolded content before creating it.<br/>Example: `/new Express app using typescript and svelte` |
200-
| `/newNotebook` | Use the `/newNotebook` command in the Chat view to generate a new Jupyter notebook based on your requirements. Use natural language to describe what the notebook should contain.<br/>Example: `/newNotebook get census data and preview key insights with Seaborn`. |
201-
202212
## Next steps
203213

204214
- [Tutorial: Get started with GitHub Copilot in VS Code](/docs/copilot/getting-started.md)

0 commit comments

Comments
 (0)