[Bug] 搜索框逻辑优化

未关闭
#1,624 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
frontend, search

调研方向

The payload names no source files, so start by finding the editor's search panel, which is the Editor module on version 0.6.6, and the code that runs file lookup and renders results. Three separate changes are requested: a resizable preview pane, faster first results (caching or indexing, since opening takes four to five seconds), and showing matched line text before the file name. Done means each of the three is handled and the search still returns the same matches.

由索引模型根据 Issue 内容生成。

描述

area:editor bug issue-form:bug P1 platform:macos review: high
Platform / 平台

macOS

Area / 模块

Editor / 编辑器

Lithe version / Lithe 版本

0.6.6

Priority / 优先级

P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用

OS and architecture / 操作系统与架构

No response

Environment / 环境信息
Image Image
  1. 不支持调节大小,导致有的时候想看全一点需要一直移动预览框
  2. 加载速度有点慢——需要使用缓存或者相关逻辑优化一下,打开要四五秒才搜到有点慢了
  3. 搜索文本应该先展示文本行内容而不是文件名
Image Image
Steps to reproduce / 复现步骤

No response

Expected behavior / 预期行为

No response

Actual behavior / 实际行为

No response

Logs or diagnostic output / 日志或诊断输出

Screenshots or recordings / 截图或录屏

No response

Checklist / 提交前检查
  • I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
  • I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
主要语言
TypeScript
星标
1.8k
派生
151
平均合并
11 小时 58 分钟
30 天内合并 PR
357

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

1lck/Lithe-IDEA 的其他 Issue

查看 1lck/Lithe-IDEA 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。