Skip to content

C# white color on Class Type references? #343

@theHardInGame

Description

@theHardInGame

The version I am (was) using have (had)

      "name": "C# Classes & Storage types",
      "scope": ["entity.name.type.class.cs", "storage.type.cs"],

the class declaration worked fine
public class SomethingVeryImportant { } // SomethinVeryImportant has the yellow color here

but everywhere else

public class NotVeryImportant
{
    private SomethingVeryImportant maybeNot; // SomethingVeryImportant and maybeNot shared white color
}

I am not sure if this is intended or not, but I just changed the "storage.type.cs" to "entity.name.type" and got the correct yellow color in

private SomethingVeryImportant maybeNot; // SomethingVeryImportant now has color, YAY!

If original effect was intended then no bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions