Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestCode classification breaks in LSP for lines that begin with whitespace #74435

Open
JoeRobich opened this issue Jul 18, 2024 · 0 comments
Open
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@JoeRobich
Copy link
Member

JoeRobich commented Jul 18, 2024

When using a raw string literal, lines that begin with whitespace are rendered all white.

// lang=c#-test
var code = """
    using System;

    namespace Test;

    public class Program
    {
        public static void Main(string[] args)
        {
            return;
        }
    }
    public struct Person {}
    public interface ICan {}
    """;
Test.Code.Bug.mp4

Image

Noticed while working on #74433

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

1 participant