C# - Highlighting Error
See original GitHub issueDescribe the bug It seems certain parameters have no highlighting applied to them
To Reproduce Steps to reproduce the behavior:
- Download C# Extensions from Microsoft.
- 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
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>(); this.name = name; }
public void AddGrade(double grade)
{
grades.Add(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:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top 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: http://www.shwetalodha.in/Medium: https://medium.com/@shweta-lodhaWatch 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! Thank you very much for the prompt fix. 😃
just release a new version, you can check it now