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

fix: Semantic token types #84

Merged
merged 1 commit into from
Apr 16, 2023

Commits on Apr 16, 2023

  1. fix: Semantic token types

    1. Add the following missing ClassificationTypeNames -> semantic token
       maps:
       1. Identifier: variable
       2. VerbatimStringLiteral: string
    2. Fix the following ClassificationTypeNames -> semantic token map since
       there is no related semantic token:
       1. LabelName: label -> variable
    
    Now `ClassificationTypeMap` should cover all possible return values of
    [Microsoft.CodeAnalysis.CSharp.Classification.ClassificationHelpers.GetClassification](https://github.com/dotnet/roslyn/blob/main/src/Workspaces/CSharp/Portable/Classification/ClassificationHelpers.cs).
    
    Signed-off-by: Adam Tao <tcx4c70@gmail.com>
    tcx4c70 committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    b5040aa View commit details
    Browse the repository at this point in the history