From f0bbc212b000737cab51718bcedf1d85d0b72921 Mon Sep 17 00:00:00 2001 From: Adam Tao Date: Mon, 27 Feb 2023 20:42:54 +0800 Subject: [PATCH] feat(Util.fs): Add ConstantName and DelegateName to semantic tokens Signed-off-by: Adam Tao --- src/CSharpLanguageServer/Util.fs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CSharpLanguageServer/Util.fs b/src/CSharpLanguageServer/Util.fs index 3db94637..cb69e396 100644 --- a/src/CSharpLanguageServer/Util.fs +++ b/src/CSharpLanguageServer/Util.fs @@ -35,7 +35,9 @@ let unwindProtect cleanupFn op = let ClassificationTypeMap = Map [ (ClassificationTypeNames.ClassName, "class"); (ClassificationTypeNames.Comment, "comment"); + (ClassificationTypeNames.ConstantName, "property"); (ClassificationTypeNames.ControlKeyword, "keyword"); + (ClassificationTypeNames.DelegateName, "class"); (ClassificationTypeNames.EnumMemberName, "enumMember"); (ClassificationTypeNames.EnumName, "enum"); (ClassificationTypeNames.EventName, "event");