我的 Visual Studio 2012 中的行号旁边出现了彩色条 [英] Colored bars have appeard in my Visual Studio 2012 beside the line numbers

查看:51
本文介绍了我的 Visual Studio 2012 中的行号旁边出现了彩色条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,当我在工作中启动 Visual Studio 2012 时,我发现了一些新的彩色条.

Today when I started Visual Studio 2012 at work I found some new colored bars.

我们通过 RDP 在共享远程服务器上工作,所以我问周围是否有人安装或更新了任何东西.似乎没有人做过任何事情".

We work on a shared remote server through RDP, so I asked around if someone has installed or updated anything. It seems no one has done "anything".

有我看到的酒吧:

最左边的条形,绿色和黄色的条形,我知道.它们显示文件自打开以来编辑过的位置(黄色表示更改尚未保存,绿色表示已保存).

The leftmost bars, the green and yellow one, I know about. They show where the file has been edited since its opening (yellow means the changes has not been saved yet, green means they have been saved).

最右边的那个,我对他们一无所知.它们似乎通常反映最左侧,但并非总是如此.它们通过文件关闭-重新打开保持不变.

The rightmost one, I'm lost about them. They seem to usually mirror the leftmost, but not always. They persist through file close-reopen.

经过一些修补,似乎绿色矩形表示添加了新行,蓝色矩形表示修改了现有行,红色三角形表示删除了行.

Through some tinkering, it seems the green rectangles means new lines added, the blue rectangles means existing lines modified and the red triangles means removed lines.

这些是 Visual Studio 的关于"窗口中的信息:

These are the information form Visual Studio's About window:

Microsoft Visual Studio Premium 2012
Version 11.0.60315.01 Update 2
Microsoft .NET Framework
Version 4.5.50709

Installed Version: Premium

LightSwitch for Visual Studio 2012   04941-004-0044006-02568
Microsoft LightSwitch for Visual Studio 2012

Office Developer Tools   04941-004-0044006-02568
Microsoft Office Developer Tools

Team Explorer for Visual Studio 2012   04941-004-0044006-02568
Microsoft Team Explorer for Visual Studio 2012

Visual Basic 2012   04941-004-0044006-02568
Microsoft Visual Basic 2012

Visual C# 2012   04941-004-0044006-02568
Microsoft Visual C# 2012

Visual C++ 2012   04941-004-0044006-02568
Microsoft Visual C++ 2012

Visual F# 2012   04941-004-0044006-02568
Microsoft Visual F# 2012

Visual Studio 2012 Code Analysis Spell Checker   04941-004-0044006-02568
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Visual Studio 2012 SharePoint Developer Tools   04941-004-0044006-02568
Microsoft Visual Studio 2012 SharePoint Developer Tools

Git Source Control Provider   1.0.0.0


JetBrains ReSharper 7.0.1   C# Edition build 7.0.1098.2760 on 2012-08-27T14:31:12
JetBrains ReSharper 7.0.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2013 JetBrains, Inc.

JetBrains TeamCity Addin 7.1   build 7.1.667.137 on 2013-02-05T12:20:56 [Not Loaded]
JetBrains TeamCity Addin 7.1 package for Microsoft Visual Studio. For more information about TeamCity, visit http://www.jetbrains.com/teamcity/. Copyright © 2000–2013 JetBrains, Inc.

NuGet Package Manager   2.2.40116.9051
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   11.1.20627.00
Microsoft SQL Server Data Tools

StyleCop   4.7.41.0
Provides source code style and consistency tools. See http://www.stylecop.codeplex.com/ for more details.

Web Developer Tools   1.2.40308.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.

Git source control provider
Demo.

我安装了这些扩展:

有人可以对此有所了解吗,我该如何禁用它们?我的强迫症抱怨信息有冲突...

Can someone shed some light on this, and how can I disable them? My OCD is complaining about the conflicting information...

推荐答案

它们来自 GIT 源代码控制提供者.我想您的项目是版本化的,所以这些条形会为您提供有关以某种方式更改的行的信息,以及更改的性质.

They come from the GIT source control provider. I suppose your project is versioned, so those bars give you information about lines that are changed in some way, and what is the nature of the change.

这篇关于我的 Visual Studio 2012 中的行号旁边出现了彩色条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆