From 873a42d461a12220f3408dff701308748541a744 Mon Sep 17 00:00:00 2001 From: Priyash Patil <38959321+priyashpatil@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:54:50 +0530 Subject: [PATCH] docs: add install section in docs sidebar --- docs/docs/how-to-use-continue.md | 76 +++++++++++++-------- docs/docs/install/jetbrains.md | 110 +++++++++++++++++++++++++++++++ docs/docs/install/vscode.md | 77 ++++++++++++++++++++++ docs/docs/intro.md | 44 ++++++++----- docs/docs/troubleshooting.md | 12 ++-- docs/sidebars.js | 37 +++++++++-- 6 files changed, 303 insertions(+), 53 deletions(-) create mode 100644 docs/docs/install/jetbrains.md create mode 100644 docs/docs/install/vscode.md diff --git a/docs/docs/how-to-use-continue.md b/docs/docs/how-to-use-continue.md index eb6a51fb0..8cbd23216 100644 --- a/docs/docs/how-to-use-continue.md +++ b/docs/docs/how-to-use-continue.md @@ -1,67 +1,85 @@ --- -title: 🧑‍🎓 How to use Continue -description: Using LLMs as you code with Continue +title: How to Use Continue +description: Utilizing LLMs (Large Language Models) as you code with Continue keywords: [how to, edit, refactor, boilerplate, context] --- -# 🧑‍🎓 How to use Continue +Continue is an advanced tool designed to help you integrate the power of Large Language Models (LLMs) seamlessly into your coding environment, providing assistance with understanding code, generating boilerplate, refactoring, and much more. Below are detailed instructions on how you can make the most out of Continue across different integrated development environments (IDEs) like VS Code and JetBrains. -## Easily understand code sections +## Easily Understand Code Sections + +If you ever find yourself puzzled by a piece of code, Continue can help break it down for you. This feature gives you a clear and concise explanation which can significantly speed up the debugging and understanding process. + +- **VS Code**: Press `cmd+L` (MacOS) or `ctrl+L` (Windows) to get insights into the current code section you are working on. +- **JetBrains**: Utilize the same feature with `cmd+J` (MacOS) or `ctrl+J` (Windows). ![understand](/img/understand.gif) -- VS Code: `cmd+L` (MacOS) / `ctrl+L` (Windows) -- JetBrains: `cmd+J` (MacOS) / `ctrl+J` (Windows) +## Tab to Autocomplete Code Suggestions -## Tab to autocomplete code suggestions +Autocomplete can save you time by predicting and inserting code snippets. Continue enhances this feature by using AI to offer smarter autocomplete suggestions tailored to your context. + +- **VS Code**: Simply press `tab` (MacOS) or `tab` (Windows) to autocomplete code suggestions. +- **JetBrains**: Similar functionality is available with the `tab` key on both MacOS and Windows. ![autocomplete](/img/autocomplete.gif) -- VS Code: `tab` (MacOS) / `tab` (Windows) -- JetBrains: `tab` (MacOS) / `tab` (Windows) +## Refactor Functions Where You are Coding -## Refactor functions where you are coding +Refactoring is a crucial part of maintaining and improving your code. With Continue, you can refactor functions right where you are coding, ensuring seamless transitions and minimal interruptions. + +- **VS Code**: Press `cmd+I` (MacOS) or `ctrl+I` (Windows) to refactor in place. +- **JetBrains**: Trigger the same action using `cmd+I` (MacOS) or `ctrl+I` (Windows). ![inline](/img/inline.gif) -- VS Code: `cmd+I` (MacOS) / `ctrl+I` (Windows) -- JetBrains: `cmd+I` (MacOS) / `ctrl+I` (Windows) +## Ask Questions About Your Codebase -## Ask questions about your codebase +Continue allows you to ask questions about your entire codebase, which can be extremely useful for getting quick answers and making informed decisions. + +- **VS Code**: Type `@codebase` followed by your query (works on both MacOS and Windows). +- **JetBrains**: This feature will be available soon. ![codebase](/img/codebase.gif) -- VS Code: `@codebase` (MacOS) / `@codebase` (Windows) -- JetBrains: Support coming soon +## Quickly Use Documentation as Context -## Quickly use documentation as context +Documentation can often be complex and time-consuming to scroll through. Continue can fetch the relevant sections for you, allowing you to use documentation as context efficiently. + +- **VS Code**: Use the `@docs` command (available on both MacOS and Windows). +- **JetBrains**: The same functionality is available using `@docs` on both MacOS and Windows. ![docs](/img/docs.gif) -- VS Code: `@docs` (MacOS) / `@docs` (Windows) -- JetBrains: `@docs` (MacOS) / `@docs` (Windows) +## Kick Off Actions with Slash Commands -## Kick off actions with slash commands +Slash commands in Continue enable you to perform various actions quickly and efficiently without having to leave your coding environment. + +- **VS Code**: Start commands with a `/` (works on both MacOS and Windows) like `/edit`. +- **JetBrains**: Support the use of slash commands by typing `/edit` on MacOS or Windows. ![slash](/img/slash.gif) -- VS Code: `/edit` (MacOS) / `/edit` (Windows) -- JetBrains: `/edit` (MacOS) / `/edit` (Windows) +Learn more about slash commands [here](./customization/slash-commands.md). -Learn more about slash commands [here](./customization/slash-commands.md) +## Add Classes, Files, and More to Context -## Add classes, files, and more to context +Context switching can disrupt your workflow. Continue allows you to add classes, files, and more to your current context, allowing you to see everything you need in one place. + +- **VS Code**: Use the `@files` command (available on both MacOS and Windows) for this purpose. +- **JetBrains**: This feature can also be utilized using `@files` on MacOS and Windows. ![classes](/img/classes.gif) -- VS Code: `@files` (MacOS) / `@files` (Windows) -- JetBrains: `@files` (MacOS) / `@files` (Windows) - Learn more about context providers [here](./customization/context-providers.md). -## Understand terminal errors immediately +## Understand Terminal Errors Immediately + +One of the most frustrating parts of coding is deciphering terminal errors. Continue can help you understand these errors instantly, reducing downtime and confusion. + +- **VS Code**: Press `cmd+shift+R` (MacOS) or `ctrl+shift+R` (Windows) for instant error explanations. +- **JetBrains**: This feature will be supported soon. ![error](/img/error.gif) -- VS Code: `cmd+shift+R` (MacOS) / `ctrl+shift+R` (Windows) -- JetBrains: Support coming soon \ No newline at end of file +By following these extended and detailed instructions, you can significantly improve your coding efficiency and debug processes using Continue. Happy coding! diff --git a/docs/docs/install/jetbrains.md b/docs/docs/install/jetbrains.md new file mode 100644 index 000000000..3ff9ac1fc --- /dev/null +++ b/docs/docs/install/jetbrains.md @@ -0,0 +1,110 @@ +--- +title: Installing Continue in JetBrains IDEs +description: Instructions for installing the Continue extension in JetBrains IDEs +keywords: [install, setup, jetbrains, plugin, continue, intellij, pycharm, webstorm] +--- + +## Prerequisites + +Ensure you have a compatible [JetBrains IDE](https://www.jetbrains.com/products/) installed. Continue is compatible with: + +- IntelliJ IDEA (Ultimate, Community) +- Android Studio +- AppCode +- Aqua +- CLion +- DataGrip +- DataSpell +- GoLand +- PhpStorm +- PyCharm (Professional, Community) +- Rider +- RubyMine +- RustRover +- WebStorm +- Writerside + +## Installation Options + +There are three ways to install the Continue extension in JetBrains IDEs: + +1. Install from JetBrains Marketplace within the IDE +2. Manual Installation from JetBrains Marketplace website +3. Manual Installation using ZIP from GitHub Releases + +Choose the method that best suits your preference and setup. Each option is detailed below. + +### Option 1: Install from JetBrains Marketplace within the IDE + +1. Open your JetBrains IDE. +2. Open the Settings/Preferences dialog (Ctrl+Alt+S on Windows/Linux, ⌘, on macOS). +3. Navigate to "Plugins" in the left sidebar. +4. Click on the "Marketplace" tab. +5. Search for "Continue" in the search bar. +6. Click the "Install" button next to the Continue plugin. +7. Restart your IDE when prompted to complete the installation. + +### Option 2: Manual Installation from JetBrains Marketplace website + +1. Visit the [Continue plugin page on the JetBrains Marketplace](https://plugins.jetbrains.com/plugin/22707-continue). +2. Click the "Get" button on the page. +3. Select your IDE from the list and click "Download". +4. Open your JetBrains IDE. +5. Open the Settings/Preferences dialog (Ctrl+Alt+S on Windows/Linux, ⌘, on macOS). +6. Navigate to "Plugins" in the left sidebar. +7. Click the gear icon and select "Install Plugin from Disk...". +8. Navigate to the downloaded plugin file and select it. +9. Restart your IDE when prompted to complete the installation. + +### Option 3: Manual Installation using ZIP from GitHub Releases + +1. Visit the [Continue GitHub releases page](https://github.com/continuedev/continue/releases). +2. Find the latest release and download the JetBrains ZIP file (e.g., `continue-jetbrains-[version].zip`). +3. Open your JetBrains IDE. +4. Open the Settings/Preferences dialog (Ctrl+Alt+S on Windows/Linux, ⌘, on macOS). +5. Navigate to "Plugins" in the left sidebar. +6. Click the gear icon and select "Install Plugin from Disk...". +7. Navigate to the downloaded ZIP file and select it. +8. Restart your IDE when prompted to complete the installation. + +## Post-Installation Setup + +1. After installation and IDE restart, you'll see the Continue icon in the right toolbar. +2. Click it to open the Continue tool window. + +![jetbrains-quickstart](/img/jetbrains-quickstart.png) + +## Getting Started with Continue + +Now that you've successfully installed Continue, you're ready to enhance your coding experience. Here's a quick summary of what you can do: + +1. **Open the Continue tool window**: Click the Continue icon in the right toolbar to access the extension's features. +2. **Start a conversation**: Use the chat interface to ask questions, get code suggestions, or request explanations. +3. **Explore features**: Familiarize yourself with Continue's features to streamline your workflow. +4. **Customize settings**: Adjust the plugin's settings to suit your preferences and coding style. + +For more detailed information on using Continue, check out our [user guide](../how-to-use-continue.md). + +## Pre-release Version (Optional) + +The Continue plugin for JetBrains IDEs offers a pre-release version through their Early Access Program (EAP) channel. To access the latest EAP version: + +1. Open your JetBrains IDE. +2. Open the Settings/Preferences dialog (Ctrl+Alt+S on Windows/Linux, ⌘, on macOS). +3. Navigate to "Plugins" in the left sidebar. +4. Click the gear icon at the top of the Plugins page. +5. Select "Manage Plugin Repositories...". +6. In the dialog that opens, add the URL to the list: `https://plugins.jetbrains.com/plugins/eap/list` +7. Click "OK" to save the changes. + +After adding the EAP channel, you'll be able to download the latest pre-release version of Continue from the marketplace. To install or update to the EAP version: + +1. Go back to the Plugins page in Settings/Preferences. +2. Search for "Continue" in the marketplace. +3. You should see the EAP version available. Click "Install" or "Update" to get the latest pre-release version. + +Remember that EAP versions may contain experimental features and could be less stable than the regular releases. + +## Troubleshooting + +If you encounter any issues, please refer to our [troubleshooting guide](../troubleshooting.md) or ask for help in [our Discord community](https://discord.gg/NWtdYexhMs). diff --git a/docs/docs/install/vscode.md b/docs/docs/install/vscode.md new file mode 100644 index 000000000..10114d9f1 --- /dev/null +++ b/docs/docs/install/vscode.md @@ -0,0 +1,77 @@ +--- +title: Installing Continue in VS Code +description: Instructions for installing the Continue extension in Visual Studio Code +keywords: [install, setup, vscode, extension, continue, vsix] +--- + +## Prerequisites + +Ensure you have Visual Studio Code installed. If not, download and install it from the [Visual Studio Code download page](https://code.visualstudio.com/download). + +## Installation Options + +There are three ways to install the Continue extension in Visual Studio Code: + +1. Install from VS Code Marketplace (Web) +2. Install from VS Code Extensions Marketplace +3. Manual Installation using VSIX + +Choose the method that best suits your preference and setup. Each option is detailed below. + +### Option 1: Install from VS Code Marketplace (Web) + +1. Visit the [Continue extension page on the Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Continue.continue). +2. Click the `Install` button on the page. +3. This will open VS Code (if it's not already open) and take you to the extension page within VS Code. +4. Click `Install` in VS Code to complete the installation. + +### Option 2: Install from VS Code Extensions Marketplace + +1. Open Visual Studio Code. +2. Navigate to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X). +3. Search for "Continue" in the marketplace. +4. Click `Install` next to the Continue extension. + +### Option 3: Manual Installation using VSIX + +1. Download the latest VSIX package from the [Continue GitHub repository](https://github.com/continuedev/continue/releases). +2. In VS Code, go to Extensions view. +3. Click on the "..." menu at the top of the Extensions sidebar. +4. Select `Install from VSIX...`. +5. Navigate to the downloaded VSIX file and select it. + +## Post-Installation Setup + +1. After installation, you'll see the Continue logo in the left sidebar. +2. Click it to open the Continue extension. +3. We recommend moving Continue to VS Code's right sidebar: + +![move-to-right-sidebar](/img/move-to-right-sidebar.png) + +This keeps the file explorer accessible while using Continue. + +## Getting Started with Continue + +Now that you've successfully installed Continue, you're ready to enhance your coding experience. Here's a quick summary of what you can do: + +1. **Open the Continue sidebar**: Click the Continue logo in the sidebar to access the extension's features. +2. **Start a conversation**: Use the chat interface to ask questions, get code suggestions, or request explanations. +3. **Explore commands**: Familiarize yourself with Continue's commands to streamline your workflow. +4. **Customize settings**: Adjust the extension's settings to suit your preferences and coding style. + +For more detailed information on using Continue, check out our [user guide](../how-to-use-continue.md). + +## Pre-release Version (Optional) + +The VS Code Continue extension is currently in beta. A pre-release version is available with the latest fixes and features. To install the pre-release version: + +1. Open Visual Studio Code. +2. Navigate to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X). +3. Search for "Continue" in the installed extensions. +4. Select `Switch to Pre-release Version` from the menu. + +![Pre-Release](../../static/img/prerelease.png) + +## Troubleshooting + +If you encounter any issues, please refer to our [troubleshooting guide](.././troubleshooting.md) or ask for help in [our Discord community](https://discord.gg/NWtdYexhMs). diff --git a/docs/docs/intro.md b/docs/docs/intro.md index e21f85be8..4fed466be 100644 --- a/docs/docs/intro.md +++ b/docs/docs/intro.md @@ -1,24 +1,36 @@ --- -title: 💻 Introduction -description: Continue is the open-source autopilot for software development -keywords: [introduction, intro, continue, autopilot, chatgpt] +title: Introduction +description: The open-source AI code assistant for developers +keywords: [continue, AI, code assistant, autocomplete, chat, VS Code, JetBrains] --- -# 💻 Introduction +![Continue Logo](/img/intro.png) -![continue-cover-logo](/img/intro.png) +## The Open-Source AI Code Assistant -**Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension)** +Continue is the leading open-source AI code assistant, designed to enhance your development workflow. It seamlessly integrates with popular IDEs like [VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) and [JetBrains](https://plugins.jetbrains.com/plugin/22707-continue-extension), providing custom autocomplete and chat experiences. -Some examples of what you can achieve are: +### Key Features -- [Easily understand code sections](how-to-use-continue.md#easily-understand-code-sections) -- [Tab to autocomplete code suggestions](how-to-use-continue.md#tab-to-autocomplete-code-suggestions) -- [Refactor functions where you are coding](how-to-use-continue.md#refactor-functions-where-you-are-coding) -- [Ask questions about your codebase](how-to-use-continue.md#ask-questions-about-your-codebase) -- [Quickly use documentation as context](how-to-use-continue.md#quickly-use-documentation-as-context) -- [Kick off actions with slash commands](how-to-use-continue.md#kick-off-actions-with-slash-commands) -- [Add classes, files, and more to context](how-to-use-continue.md#add-classes-files-and-more-to-context) -- [Understand terminal errors immediately](how-to-use-continue.md#understand-terminal-errors-immediately) +- **Flexible Model Integration**: Use any AI model, whether open-source or commercial, local or remote. +- **Versatile Applications**: Ideal for chat, autocomplete, and embeddings. +- **Highly Customizable**: Configure to fit your existing workflows. -Continue enables you to use the right model for the job, whether it's open-source or commercial, running local or remote, and used for chat, autocomplete, or embeddings. And we provide numerous points of configuration, so that you can customize the extension to fit into your existing workflows. +### What You Can Do with Continue + +1. [Understand code sections easily](how-to-use-continue.md#easily-understand-code-sections) +2. [Autocomplete code with tab](how-to-use-continue.md#tab-to-autocomplete-code-suggestions) +3. [Refactor functions in-place](how-to-use-continue.md#refactor-functions-where-you-are-coding) +4. [Query your codebase](how-to-use-continue.md#ask-questions-about-your-codebase) +5. [Leverage documentation as context](how-to-use-continue.md#quickly-use-documentation-as-context) +6. [Use slash commands for quick actions](how-to-use-continue.md#kick-off-actions-with-slash-commands) +7. [Add various elements to context](how-to-use-continue.md#add-classes-files-and-more-to-context) +8. [Instantly understand terminal errors](how-to-use-continue.md#understand-terminal-errors-immediately) + +Explore these features to supercharge your development process with Continue! + +## See Continue in Action + +
+ +
diff --git a/docs/docs/troubleshooting.md b/docs/docs/troubleshooting.md index ff952ddc0..459271d47 100644 --- a/docs/docs/troubleshooting.md +++ b/docs/docs/troubleshooting.md @@ -1,13 +1,17 @@ --- -title: ❓ Troubleshooting +title: Troubleshooting description: Troubleshooting while waiting for help during beta / alpha testing keywords: [reload, delete, manually, logs, server, console] --- -# ❓ Troubleshooting - The Continue VS Code extension is currently in beta, and the Intellij extension is in Alpha. If you are having trouble, please follow the steps below. +1. [Check the logs](#check-the-logs) +2. [Try the latest pre-release](#download-the-latest-pre-release) +3. [Download an older version](#download-an-older-version) +4. [Resolve keyboard shortcut issues](#keyboard-shortcuts-not-resolving) +5. [Check FAQs for common issues](#faqs) + ## Check the logs To solve many problems, the first step is reading the logs to find the relevant error message. To do this, follow these steps: @@ -116,4 +120,4 @@ This can be accomplished using the following command: `Continue: Rebuild codebas ## Still having trouble? -Create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), leaving the details of your problem, and we'll be able to more quickly help you out. +You can also join our Discord community [here](https://discord.gg/vapESyrFmJ) for additional support and discussions. Alternatively, you can create a GitHub issue [here](https://github.com/continuedev/continue/issues/new?assignees=&labels=bug&projects=&template=bug-report-%F0%9F%90%9B.md&title=), providing details of your problem, and we'll be able to help you out more quickly. diff --git a/docs/sidebars.js b/docs/sidebars.js index 085560a4d..0841adbdb 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -14,9 +14,39 @@ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { docsSidebar: [ - "intro", - "quickstart", - "how-to-use-continue", + { + type: "category", + label: "🚀 Install", + collapsible: true, + collapsed: true, + items: [ + { + type: "doc", + id: "intro", + label: "Introduction", + }, + { + type: "doc", + id: "install/vscode", + label: "VS Code", + }, + { + type: "doc", + id: "install/jetbrains", + label: "JetBrains", + }, + { + type: "doc", + id: "how-to-use-continue", + label: "How to use Continue", + }, + { + type: "doc", + id: "troubleshooting", + label: "Troubleshooting", + }, + ], + }, { type: "category", label: "🌉 Setup", @@ -73,7 +103,6 @@ const sidebars = { }, ], }, - "troubleshooting", { type: "category", label: "📖 Reference",