diff --git a/docs/core-features.md b/docs/core-features.md index be3f3a8..ded486f 100755 --- a/docs/core-features.md +++ b/docs/core-features.md @@ -70,3 +70,6 @@ Quick terminal debug: Use `CMD+SHIFT+R` to add the last terminal text to your ch ``` This flexibility enables you to create powerful and reusable custom commands tailored to your specific workflow needs. + + If you'd also like to have tab autocomplete feature within PearAI, follow [this](https://trypear.ai/docs/tab-autocomplete). + diff --git a/docs/quickstart.md b/docs/quickstart.md index 9e27d7d..4f2b3d4 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -38,3 +38,7 @@ keywords: [quickstart, start, install, vscode, jetbrains] Your browser does not support the video tag. + + + + If you'd also like to have tab autocomplete feature within PearAI, follow [this](https://trypear.ai/docs/tab-autocomplete). \ No newline at end of file diff --git a/docs/tab-autocomplete.md b/docs/tab-autocomplete.md new file mode 100644 index 0000000..f6c06fa --- /dev/null +++ b/docs/tab-autocomplete.md @@ -0,0 +1,34 @@ +--- +title: ✅ Tab Autocomplete +description: PearAI is the open-source autopilot for software development +keywords: [shortcuts, pearai, important shortcuts, pear ai shortcuts] +sidebar_position: 3 +--- + +# ✅ Tab AutoComplete + +PearAI supports tab autocomplete, which predicts and suggests what you would type next as you're coding. Here's how to set it up: + +## Setup Guide + +1. **Setup Codestral** + + We recommend using Codestral, the leading model for code completion (or FIM — Fill In Middle). It's also open-sourced! You'll need to obtain a Codestral API key from [Mistral API](https://console.mistral.ai). + +2. **Add to PearAI config.json** + + Add the following to your config.json file (replace "YOUR_API_KEY" with your actual API key): + + ```json + "tabAutocompleteModel": { + "title": "Codestral", + "provider": "mistral", + "model": "codestral-latest", + "apiKey": "YOUR_API_KEY" + } + +3. **Enjoy the development speed up with autocomplete!** + + + + diff --git a/sidebars.js b/sidebars.js index 381c0e1..c641eeb 100755 --- a/sidebars.js +++ b/sidebars.js @@ -18,6 +18,7 @@ const sidebars = { "quickstart", "demos", "important-shortcuts", + "tab-autocomplete", "codebase-context", "common-use-cases", {