功能建议:增加"开发模式"——类 IDE 目录树展开、项目类型识别(Java/Go/Python)与直观入口
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户1189
**客户端版本**: 0.1.55
---
## 反馈类型
功能建议(Feature Request),取代 #2986。
## 使用场景
开发人员在使用 Cindy 打开/选择一个项目目录后,希望能像使用 IDE 一样,在 Cindy 内直接浏览项目结构、查看和编辑文件,而不必切换到外部编辑器。例如:打开一个 Java / Go / Python 项目后,能在树形结构中快速定位入口文件并直接修改。
## 当前痛点
- 项目目录目前不可展开浏览,无法在目录树中定位文件。
- 无法在 Cindy 内直接查阅、编辑并保存文件,需要切到外部编辑器,打断工作流。
- 进入此类模式的方式不够直观:入口不明显、像是藏在设置里,用户不容易发现。
## 诉求
1. **类 IDE 的目录树展开**:项目目录可逐级展开到文件,点击文件可查看内容,并支持编辑与保存。
2. **项目类型识别**:自动识别项目类型(Java / Go / Python 等),在目录树中展示语言标识(图标或标签),并辅助定位常见入口文件(如 `pom.xml` / `go.mod` / `requirements.txt` / `main.*` 等)。
3. **更直观的入口**:打开项目后有明显、直观的一键方式进入"开发模式",而不是藏在深层设置里。
## 建议方案 / 可讨论项
- 语法高亮、文件折叠、代码搜索、构建/运行等能力可作为后续扩展,不限定在本需求首版内。
- 类型识别与入口文件定位的具体规则可参考常见 IDE 的项目结构解析方式,欢迎维护者或用户补充。
## 备注
- 复现/频率/尝试方法不适用(功能建议,非 Bug)。
- 本 issue 取代 #2986 的早期粗略描述,建议旧 issue 关闭。
- 环境信息由提交系统自动附加。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
No files, tests, or entry points are named in the issue. Start by locating the project-opening flow and the existing directory tree or settings entry, then define the first-release scope for browsing, editing, saving, project recognition, and a visible development-mode entry point.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100