makecindy / makecindy/cindy

在可编辑区域输入成对符号时支持包裹选中文本

Open
#3,899 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: JINJIA XU
**客户端版本**: 0.1.72

---

## 功能建议

希望 Cindy 的各类可编辑文本区域都支持类似 VS Code 的成对符号包裹行为(可以提供可配置选项)。

当用户选中一段文本后输入成对符号时,应保留选中的内容,并在其左右插入对应的符号,而不是让输入内容覆盖选区。例如:

- 选中 `abc` 后输入 `"`,结果为 `"abc"`
- 输入 `'`,结果为 `'abc'`
- 输入 `(`,结果为 `(abc)`
- 输入 `[`,结果为 `[abc]`
- 输入 `<`,结果为 ``

其他成对出现的符号也希望遵循相同的包裹逻辑,并且这一行为不局限于某一个编辑区域。
---
## 提交时的任务环境

仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**OS**: win32 x64 (10.0.26200)
**Harness**: Claude Code
**Model ID**: ` chatgpt/gpt-5.6-luna `
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the shared handling for editable text areas and determine whether all requested areas use it; then review how configurable paired-symbol behavior could fit. Done means selected text remains intact and is wrapped for the listed symbol pairs across all applicable editable areas.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.