mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-01 21:20:51 +00:00
docs: add nextra docs
This commit is contained in:
parent
4be7ba0b44
commit
33e886860c
87 changed files with 6342 additions and 0 deletions
32
docs/pages/features/inline-edit.mdx
Normal file
32
docs/pages/features/inline-edit.mdx
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: Inline Edit
|
||||
description: Modify code directly within the editor using natural language instructions.
|
||||
---
|
||||
|
||||
# Inline Edit
|
||||
|
||||
Modify code segments directly in the editor using natural language instructions. ProxyAI applies your requested changes live without leaving your coding environment.
|
||||
|
||||
<video
|
||||
src="https://proxyai-assets.s3.eu-central-1.amazonaws.com/videos/inline-edit.mp4"
|
||||
alt="Inline Edit process: Highlighting code, clicking the Edit Code icon, entering 'improve logging', submitting, and observing live code modification in the editor."
|
||||
width="1200"
|
||||
height="800"
|
||||
className="nx-rounded-lg nx-my-4"
|
||||
autoPlay
|
||||
muted
|
||||
loop
|
||||
/>
|
||||
|
||||
To use Inline Edit:
|
||||
|
||||
* Select the code block you want to modify
|
||||
* Click the **Edit Code** icon in the hover panel that appears
|
||||
* Enter your instruction (e.g., "refactor to use async/await" or "add error handling")
|
||||
* Press Enter to apply the changes directly to your code
|
||||
|
||||
### Keyboard Shortcuts
|
||||
|
||||
* **Initiate Inline Edit**: `Cmd+Shift+K` (macOS) or `Ctrl+Shift+K` (Windows/Linux)
|
||||
* **Submit Instruction**: `Enter`
|
||||
* **Cancel Edit**: `Esc`
|
||||
Loading…
Add table
Add a link
Reference in a new issue