update for v2
22
README.md
|
|
@ -19,26 +19,26 @@
|
|||
|
||||
## Task, not tab, auto-complete
|
||||
|
||||
### Edit in natural language
|
||||
|
||||
### Get possible explainations
|
||||
|
||||
Ask Continue about a part of your code to get another perspective
|
||||
- `what might cause this error?`
|
||||
- `what is the load_dotenv library name?`
|
||||
- `how do I find running process on port 8000?`
|
||||
- “how can I set up a Prisma schema that cascades deletes?”
|
||||
- “where in the page should I be making this request to the backend?”
|
||||
- “how can I communicate between these iframes?”
|
||||
|
||||
### Edit in natural language
|
||||
|
||||
Highlight a section of code and instruct Continue to refactor it
|
||||
- `/edit Make this use more descriptive variable names`
|
||||
- `/edit Rewrite this API call to grab all pages`
|
||||
- `/edit Use 'Union' instead of a vertical bar here`
|
||||
- “/edit migrate this digital ocean terraform file into one that works for GCP”
|
||||
- “/edit change this plot into a bar chart in this dashboard component”
|
||||
- “/edit rewrite this function to be async”
|
||||
|
||||
### Generate files from scratch
|
||||
|
||||
Let Continue build the scaffolding of Python scripts, React components, and more
|
||||
- `Create a shell script to back up my home dir to /tmp/`
|
||||
- `Write a Python script to get Posthog events`
|
||||
- `Add a React component for syntax highlighted code`
|
||||
- “/edit here is a connector for postgres, now write one for kafka”
|
||||
- “/edit make an IAM policy that creates a user with read-only access to S3”
|
||||
- “/edit use this schema to write me a SQL query that gets recently churned users”
|
||||
|
||||
## Getting Started
|
||||
|
||||
|
|
|
|||
|
|
@ -29,42 +29,82 @@ Here are tasks that Continue excels at helping you complete:
|
|||
|
||||
Continue works well in situations where find and replace does not work (i.e. “/edit change all of these to be like that”)
|
||||
|
||||
Examples
|
||||
- "/edit Use 'Union' instead of a vertical bar here"
|
||||
- “/edit Make this use more descriptive variable names”
|
||||
|
||||
### Writing files from scratch
|
||||
|
||||
Continue can help you get started building React components, Python scripts, Shell scripts, Makefiles, Unit tests, etc.
|
||||
|
||||
Examples
|
||||
- “/edit write a python script to get Posthog events"
|
||||
- “/edit add a React component for syntax highlighted code"
|
||||
|
||||
### Creating projects from scratch
|
||||
|
||||
Continue can go even further. For example, it can help build the scaffolding for a Python package, which includes a typer cli app to sort the arguments and print them back out.
|
||||
|
||||
Examples
|
||||
- “/edit use this schema to write me a SQL query that gets recently churned users”
|
||||
- “/edit create a shell script to back up my home dir to /tmp/"
|
||||
|
||||
### Fix highlighted code
|
||||
|
||||
After selecting a code section, try to refactor it with Continue (e.g “/edit change the function to work like this”, “/edit do this everywhere”)
|
||||
|
||||
Examples
|
||||
- “/edit migrate this digital ocean terraform file into one that works for GCP”
|
||||
- “/edit rewrite this function to be async”
|
||||
|
||||
### Ask about highlighted code or an entire file
|
||||
|
||||
If you don't understand how some code works, highlight it and ask "how does this code work?"
|
||||
|
||||
Examples
|
||||
- “where in the page should I be making this request to the backend?”
|
||||
- “how can I communicate between these iframes?”
|
||||
|
||||
### Ask about errors
|
||||
|
||||
Continue can also help explain errors and offer possible solutions. You will need to copy and paste the error text into the text input though.
|
||||
|
||||
Examples
|
||||
- “explain this error to me in human understandable way”
|
||||
- "what are some ideas for how I might solve this problem?"
|
||||
|
||||
### Figure out what shell command to run
|
||||
|
||||
Instead of switching windows and getting distracted, you can ask things like "How do I find running process on port 8000?"
|
||||
|
||||
Examples
|
||||
- "what is the load_dotenv library name?"
|
||||
- "how do I find running process on port 8000?"
|
||||
|
||||
### Ask single-turn open-ended questions
|
||||
|
||||
Instead of leaving your IDE, you can ask open-ended questions that you don't expect to turn into multi-turn conversations.
|
||||
|
||||
Examples
|
||||
- “how can I set up a Prisma schema that cascades deletes?”
|
||||
- "what is the difference between dense and sparse embeddings?"
|
||||
|
||||
### Editing small existing files
|
||||
|
||||
You can highlight an entire file and ask Continue to improve it as long as the file is not too large.
|
||||
|
||||
Examples
|
||||
- “/edit here is a connector for postgres, now write one for kafka”
|
||||
- "/edit Rewrite this API call to grab all pages"
|
||||
|
||||
### Tasks with a few steps
|
||||
|
||||
There are many more tasks that Continue can help you complete. Typically, these will be tasks that don't involve too many steps to complete.
|
||||
|
||||
Examples
|
||||
- “/edit make an IAM policy that creates a user with read-only access to S3”
|
||||
- “/edit change this plot into a bar chart in this dashboard component”
|
||||
|
||||
## When to not use Continue
|
||||
|
||||
Here are tasks that Continue is **not** helpful with today:
|
||||
|
|
|
|||
BIN
edit.gif
|
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 14 MiB |
|
|
@ -7,23 +7,23 @@
|
|||
### Get possible explainations
|
||||
|
||||
Ask Continue about a part of your code to get another perspective
|
||||
- `what might cause this error?`
|
||||
- `what is the load_dotenv library name?`
|
||||
- `how do I find running process on port 8000?`
|
||||
- “how can I set up a Prisma schema that cascades deletes?”
|
||||
- “where in the page should I be making this request to the backend?”
|
||||
- “how can I communicate between these iframes?”
|
||||
|
||||
### Edit in natural language
|
||||
|
||||
Highlight a section of code and instruct Continue to refactor it
|
||||
- `/edit Make this use more descriptive variable names`
|
||||
- `/edit Rewrite this API call to grab all pages`
|
||||
- `/edit Use 'Union' instead of a vertical bar here`
|
||||
- “/edit migrate this digital ocean terraform file into one that works for GCP”
|
||||
- “/edit change this plot into a bar chart in this dashboard component”
|
||||
- “/edit rewrite this function to be async”
|
||||
|
||||
### Generate files from scratch
|
||||
|
||||
Let Continue build the scaffolding of Python scripts, React components, and more
|
||||
- `Create a shell script to back up my home dir to /tmp/`
|
||||
- `Write Python in a new file to get Posthog events`
|
||||
- `Add a React component for syntax highlighted code`
|
||||
- “/edit here is a connector for postgres, now write one for kafka”
|
||||
- “/edit make an IAM policy that creates a user with read-only access to S3”
|
||||
- “/edit use this schema to write me a SQL query that gets recently churned users”
|
||||
|
||||
## OpenAI API Key
|
||||
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 241 KiB After Width: | Height: | Size: 660 KiB |
|
Before Width: | Height: | Size: 454 KiB After Width: | Height: | Size: 876 KiB |
|
Before Width: | Height: | Size: 1 MiB After Width: | Height: | Size: 402 KiB |
|
|
@ -181,7 +181,7 @@
|
|||
{
|
||||
"id": "edit",
|
||||
"title": "Edit in natural language",
|
||||
"description": "Highlight a section of code and instruct Continue to refactor it (e.g. `/edit Make this use more descriptive variable names`)",
|
||||
"description": "Highlight a section of code and instruct Continue to refactor it (e.g. `/edit rewrite this function to be async`)",
|
||||
"media": {
|
||||
"image": "media/edit.png",
|
||||
"altText": "Empty image"
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
{
|
||||
"id": "explain",
|
||||
"title": "Get possible explanations",
|
||||
"description": "Ask Continue about a part of your code to get another perspective (e.g. `how do I find running process on port 8000?`)",
|
||||
"description": "Ask Continue about a part of your code to get another perspective (e.g. `where in the page should I be making this request to the backend?`)",
|
||||
"media": {
|
||||
"image": "media/explain.png",
|
||||
"altText": "Empty image"
|
||||
|
|
@ -201,7 +201,7 @@
|
|||
{
|
||||
"id": "generate",
|
||||
"title": "Generate files from scratch",
|
||||
"description": "Let Continue build the scaffolding of Python scripts, React components, and more (e.g. `Create a shell script to back up my home dir to /tmp/`)",
|
||||
"description": "Let Continue build the scaffolding of Python scripts, React components, and more (e.g. `/edit here is a connector for postgres, now write one for kafka`)",
|
||||
"media": {
|
||||
"image": "media/generate.png",
|
||||
"altText": "Empty image"
|
||||
|
|
|
|||