Skip to content

Commit

Permalink
edit docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Feb 7, 2024
1 parent f4cb918 commit 01a1f77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/docs/features/ai.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AI Code Assistant 🪄

LiveCodes supports AI-powered code completion, totally for **free**, using [Codeium](https://codeium.com/), the ultrafast Copilot alternative.
LiveCodes supports AI-powered code completion, totally for **free** and no account required, using [Codeium](https://codeium.com/), the ultrafast Copilot alternative.

The large generative machine learning model is capable of understanding the context of your code and comments in order to generate suggestions on what you might want to type next.

Expand All @@ -24,7 +24,7 @@ Python:

## Instructions

The AI code assistant can be enabled from the editor settings screen (App menu → Editor Settings → Enable AI Code Assistant). Also can be enabled using the [`enableAI`](../configuration/configuration-object.md#enableai) property in the [configuration object](../configuration/configuration-object.md).
The AI code assistant can be enabled from the [editor settings](./editor-settings.md) screen (App menu → Editor Settings → Enable AI Code Assistant). Also can be enabled using the [`enableAI`](../configuration/configuration-object.md#enableai) property in the [configuration object](../configuration/configuration-object.md).

Example:

Expand All @@ -39,14 +39,6 @@ createPlayground('#container', {
});
```

<!--
## Instructions
1. Install [Codeium chrome extension](https://codeium.com/chrome_tutorial).
2. Login to Codeium.
3. Enjoy the magic!
-->

Currently, only [Monaco editor](./editor-settings.md#code-editor) on desktop Chrome browser is supported. Wider editor and browser support is planned.

:::caution Note
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/features/editor-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ A preview code editor is displayed to preview the settings in real time.

The settings selected in the `Editor Settings` screen are saved locally to [user settings](./user-settings.md) and are used subsequently. These include:

### Enable AI Code Assistant

Enables the [AI code assistant](./features/ai.md). (Free and no account required)

### Code Editor

The following code editors are supported:
Expand Down

0 comments on commit 01a1f77

Please sign in to comment.