.NET Tips and Tricks

Blog archive

What the Colors for Changed Lines in Visual Studio Mean

If you have change tracking turned on in Visual Studio, then you'll be getting highlights in the right-hand margin of your editor window flagging the condition of lines in the current file. If you're not getting those lines and would like to, then go to Tools | Options | Text Editor and check the Track Changes option.

Here's your quick reference to the colors and icons in the editor window's right-hand margin:

  • Yellow: The line has been changed but not yet saved
  • Green: The line has been changed and saved
  • Orange: The line has been changed, saved, and the change undone
  • Little square dots in the middle of the margin: Break points
  • Little square dot on the right side of the margin: Syntax error
  • Gray block: The portion of the file that's currently being displayed
  • Solid blue line: The current position of the cursor

Posted by Peter Vogel on 05/22/2018


comments powered by Disqus

Featured

  • Copilot Agent Mode Preview Highlights New Visual Studio 17.14 Release

    Agent mode, now in public preview for Visual Studio 17.14, marks a major step forward for AI-assisted development. Unlike previous Copilot features, agent mode can autonomously plan, edit, iterate, and invoke trusted tools-completing complex coding tasks from a single natural language prompt.

  • Microsoft Busts the 'Myth of AI/ML and Java'

    Microsoft, contradicting beliefs of Java developers responding to a survey, said they don't need to learn AI, master machine learning, or switch to Python to build intelligent, production-ready applications.

  • Predicting the Future Using Azure Machine Learning

    Eric D. Boyd of responsiveX previews his VSLive! 2025 session at Microsoft HQ in August where he explains how Azure ML empowers teams to build, deploy, and manage machine learning models with ease and confidence.

  • VS Code 1.10 Showcases New, Detailed Markdown Copilot Prompting

    The new way to get the most out of GitHub Copilot is from markdown prompting, or writing detailed, reusable natural-language instructions in files like README.md or copilot-instructions.md to guide different AI models in generating context-aware, accurate code.

  • Uno Platform Studio and 'Hot Design' Reach General Availability

    Uno Platform, a .NET-centric open source project for building single-codebase apps across multiple platforms, this week announced v6.0 of its flagship offering, which introduces a zero-install, web-based IDE for rapid cross-platform development, alongside a modernized app architecture that embraces MVU and .NET-style extensions.

Subscribe on YouTube