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

[Bug] Windows 编辑未提交代码时,行内 Git Blame 的 “Uncommitted changes” 提示遮挡代码

Open
#1,433 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@puppyben1 is already working on this.

Since Oct 23, 2026.

  • #1435 by @puppyben1 — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
tauri, typescript
Domain
devtools, frontend

Research direction

Start with windows/tauri/src/features/editor/components/monaco-editor.tsx and inline-git-blame-widget.ts, the files identified in the report; trace how the uncommitted blame text is positioned and sized. Reproduce on Windows with a short edited line such as Node pre, next; and compare the widget bounds with the line content. Done means the uncommitted prompt no longer overlaps code while inline blame remains usable.

Written by the indexing model from the issue text.

Description

area:editor bug claimed issue-form:bug P2 platform:windows review: medium
Platform / 平台

Windows

Area / 模块

Editor / 编辑器

Lithe version / Lithe 版本

0.3.0(Windows debug 构建,lithe-windows.exe 构建于 2026-10-16;当前源码检出 ffed91101)

Priority / 优先级

P2 / 后续考虑:目前不着急,可安排到后续版本

OS and architecture / 操作系统与架构

Windows 11 家庭中文版 10.0.26100,x86_64(Intel Core i5-12500H)

Environment / 环境信息

Tauri 2.x
@tauri-apps/api 2.8.0
WebView2 155.0.4283.62
JDK / Maven / JDT LS:与问题无关,未采集

Steps to reproduce / 复现步骤
  1. 在 Windows 端打开 Git 仓库中的 Java 文件。
  2. 保持 Settings > Git > Editor > “启用行内 Blame”开启(默认开启)。
  3. 将光标移到存在未提交修改且内容较短的行,例如截图中的 Node pre, next;。
  4. 当前行右侧出现半透明的 Uncommitted changes 提示。
  5. 继续编辑或移动光标时,提示贴近并覆盖代码尾部,干扰阅读。
Expected behavior / 预期行为

行内 Git Blame 应显示在代码之后的独立区域,或改为 Gutter/Hover 展示;不能与当前编辑行内容重叠。未提交提示也不应在输入时遮挡代码。

Actual behavior / 实际行为

半透明的 Uncommitted changes 从当前行代码内部开始显示,覆盖代码尾部(截图中第 28 行)。现有设置只能整体关闭“启用行内 Blame”,无法只隐藏未提交提示。

初步定位(未验证根因):windows/tauri/src/features/editor/components/monaco-editor.tsx 为未提交行生成该文案,inline-git-blame-widget.ts 使用 EXACT 内容 widget 和 allowEditorOverflow: true,可能与行尾定位或宽度计算有关。

Logs or diagnostic output / 日志或诊断输出
未采集:没有错误日志,现象可由截图直接观察。
Screenshots or recordings / 截图或录屏

见提交时上传的 lithe-inline-blame-overlap.png。

Image
Checklist / 提交前检查
  • I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
  • I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
Dominant language
TypeScript
Stars
1.8k
Forks
151
Avg merge
13h 5m
Merged PRs (30d)
341

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.