Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

C# - Highlighting Error

See original GitHub issue

Describe the bug It seems certain parameters have no highlighting applied to them

To Reproduce Steps to reproduce the behavior:

  1. Download C# Extensions from Microsoft.
  2. Open a C# file (Make sure to say yes if VSCode asks to add missing dependencies.

Expected behavior I am hoping to get the parameter to be highlighted or colored correctly so its less jarring

Screenshots & Example Code Screenshot 2020-12-09 184828

Desktop (please complete the following information):

  • OS: Windows 10 Pro x64 Bit.
  • VSCODE Version 1.51.1
  • Theme version 3.9.11

Additional context I will also provide a small snippet of test code to help reproduce the error

`using System; using System.Collections.Generic;

namespace GradeBook { public class Book { public Book(string name) { grades = new List<double>(); = name; }

    public void AddGrade(double grade)

    public Statistics GetStatistics()
        var result = new Statistics();
        result.Average = 0.0;
        result.High = double.MinValue;
        result.Low = double.MaxValue;

        foreach (var grade in grades)
            result.Low = Math.Min(grade, result.Low);
            result.High = Math.Max(grade, result.High);
            result.Average += grade;
        result.Average /= grades.Count;

        return result;

    private List<double> grades;
    public string name;


Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

NickITGuycommented, Dec 19, 2020

Great! Thank you very much for the prompt fix. 😃

Binaryifycommented, Dec 19, 2020

just release a new version, you can check it now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Syntax and Error Highlighting | IntelliJ Platform Plugin SDK
The syntax highlighter returns the TextAttributesKey instances for each token type, which needs special highlighting. For highlighting lexer errors, ...
Read more >
VSCode syntax error highlighting is not working for C++ code
I'm using Linux (kubuntu) with the pre-installed g++. I can also successfully build my code and run it.
Read more >
error highlighting not working - MSDN - Microsoft
I am using Microsoft Visual C++ 2010 edition on Windows 7. I can't get syntax highlighting to work and I can't get the...
Read more >
How To Highlight Errors And Warnings In VS Code - YouTube
Blog: out full Python playlist: ...
Read more >
C# syntax highlighting not working - Visual Studio Feedback
What seems to be happening to me is, that after any VS 2019 update, the syntax highlighting changes and makes the code unreadable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found