phodal / shire

Shire - AI Coding Agent Language (编程智能体语言), which can enables communication between an LLM and control IDE for automated programming.
https://shire.phodal.com/
Mozilla Public License 2.0
133 stars 17 forks source link

[Feature request] fast apply suggested code #71

Closed OiAnthony closed 1 day ago

OiAnthony commented 1 month ago

Is your feature request related to a problem? Please describe. https://github.com/phodal/shire/issues/68

Describe the solution you'd like Fast apply suggested codes when suggested by the Chat panel. The model and prompt used by Fast apply can be configured in ~/.shire/config.json image

Describe alternatives you've considered Cursor fast apply implementation: https://www.cursor.com/blog/instant-apply

avante.nvim fast apply implementation: https://github.com/yetone/avante.nvim/blob/main/lua/avante/llm.lua Rebuke LLM strictly generate suggested code block without deletion and starting line number and ending line number Replace the specified code block (start line-end line) with the suggested code block when applying

Additional context Add any other context or screenshots about the feature request here.

phodal commented 1 month ago

68

LeoLiuYan commented 1 month ago

This is exciting to see this feature implemented in shire.

@phodal @OiAnthony

phodal commented 1 day ago

Not need for current Design princinple