Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

修改代码之后使用ctrl+z还原代码,但是提交哪里还是显示有修改记录,这里应该不显示吧

Open
#1,129 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start in the Editor area and trace how editor changes are tracked and how Ctrl+Z updates that state. Reproduce the reported sequence on Windows: edit a line, then undo; check whether the modification record remains. Done means the record disappears when undo restores the original content.

Written by the indexing model from the issue text.

Description

area:editor issue-form:feature P1 platform:windows review: low
Problem to solve / 要解决的问题

我某一行代码加了注释,然后提交这里显示修改了,这个是正常的,我手动删除这个注释,提交哪里就消失不见也是正常的,但是我使用ctrl+z的情况下还原代码,提交哪里的记录还是存在。如下图所示
Image

Proposed solution / 建议方案

我希望ctrl+z还原代码的时候,提交哪里修改记录也消失

Target platform / 目标平台

Windows

Area / 模块

Editor / 编辑器

Priority / 优先级

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

Alternatives considered / 已考虑的替代方案

No response

Additional context / 补充信息

No response

Checklist / 提交前检查
  • I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复建议。
Dominant language
TypeScript
Stars
1.8k
Forks
151
Avg merge
7h 51m
Merged PRs (30d)
351

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 1lck/Lithe-IDEA

All issues in 1lck/Lithe-IDEA

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.