蓝点在VS Code集成终端的左侧装订线中的含义是什么?

huangapple go评论64阅读模式
英文:

What is meaning of blue dot in the left gutter in VS Code's integrated terminal?

问题

"为什么分支 b3 有一个蓝点?这是什么意思?我使用 VS Code,其他编辑器是否也有这种行为?"

英文:

I am new to Git and working with Git in VS Code. I created some branches and you can see them in the below image

蓝点在VS Code集成终端的左侧装订线中的含义是什么?

Why does branch b3 have a blue dot? what does it mean? I use VS Code, can we see this behavior in other editors?

答案1

得分: 2

这看起来像是shell integration decorations,但对齐奇怪,通常对齐到shell提示符的第一行或附近位置。

如果你在你的settings.json中加入"terminal.integrated.shellIntegration.decorationsEnabled": false,它可能会消失。

你也可以查看提及shell integration更新的发行说明(搜索“site:code.visualstudio.com/updates shell integration”)。例如,1.65版本提到有三种装饰:蓝色代表成功,红色代表错误,灰色/空白代表默认。

考虑到我在搜索“github vscode issues shell integration decorations misaligned”时得到三个不同的问题票作为最高搜索结果,我对你看到的奇怪行为并不感到意外。如果你想帮忙报告问题,请浏览现有的问题,看看这里看到的问题是否已经涵盖,如果没有,就报告新问题

英文:

This looks like the shell integration decorations, but just weirdly misaligned- it's usually aligned to the shell prompt's first line or somewhere near there.

It'll probably disappear if you put "terminal.integrated.shellIntegration.decorationsEnabled": false in your settings.json.

You can also see the release notes that mention shell integration updates (google "site:code.visualstudio.com/updates shell integration"). For example, for 1.65, where it mentions that there are three types of decorations: blue for success, red for error, and empty/grey for default.

Given that I get three different issue tickets as the top search results when googling "github vscode issues shell integration decorations misaligned", I'm not exactly surprised that you're seeing weird behaviours. If you want to help with issue reporting, take a look through existing issues to see if what you're seeing here is covered already or not, and if it isn't, report a new one.

huangapple
  • 本文由 发表于 2023年5月10日 23:13:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/76220098.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定