Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
suppathak committed Mar 21, 2024
1 parent c0f0c60 commit e6983ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code-generation/llms-vscode-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ Now that you've configured the "Continue" extension, let's explore how you can e

1. **Code Autocompletion:** Open the "Continue" panel in VS Code and prompt the extension with a specific task, such as "Write a code to add two numbers." The extension will then provide relevant code autocompletion suggestions based on your input prompt, aiding in code generation and text completion tasks.

![Code Autocompletion](../assets/intereaction-vscode1.png)
![Code Autocompletion](../assets/interaction-vscode1.png)

2. **Querying Working Code:** Copy your existing code snippet or press `⌘ + L` to paste it into the "Continue" panel, then pose a question such as "Explain this section of the code." The extension (LLM) will analyze the code snippet and provide explanations or insights to help you understand it better.

![Querying Working Code](../assets/intereaction-vscode2.png)
![Querying Working Code](../assets/interaction-vscode2.png)

3. **Editing Code in Script:** Edit your Python code directly within a `.py` script file using the "Continue" extension. Press `⌘ + I` to initiate the edit mode. You can then refine a specific line of code or request enhancements to make it more efficient. The extension will suggest additional code by replacing your edited code and provide options for you to accept or reject the proposed changes.

![Editing Code in Script](../assets/intereaction-vscode3.png)
![Editing Code in Script](../assets/interaction-vscode3.png)

By exploring these interactions, users can fully leverage the capabilities of language models within VS Code, enhancing their coding experience and productivity.

0 comments on commit e6983ee

Please sign in to comment.