Open songyang-dev opened 3 years ago
@XsongyangX This is likely an issue with the textmate grammar and tuples. If you enable chsarp.semanticHighlighting.enabled
and editor.semanticHighlighting.enabled
, do you see the expected results after restarting OmniSharp?
Great! I enabled the csharp
setting for semantic highlighting and it worked! I kept the editor one on default.
I realized that if I only enable one option, my ///
comments with </tags>
are no longer colored. After enabling both options, I get back to square one. So nothing changed. Comment tags are more important to me than the color of this
in some places. 💭 So it'd be nice to have a solution that doesn't remove those colors.
@XsongyangX Can you share screenshots of the highlighting that isn't working the way you expect? If you are using C# semantic colors, we recommend the included Visual Studio 2019 Dark/Light themes.
This is what happens to ///
comments, while this
keyword gets a correct coloring.
Issue Type: Bug
Hello, the syntax color for C# has a small bug in identifying the keyword "this" as a left hand side expression. This bug was found when coding C# scripts for Unity.
Required extensions: Unity snippets and documentation
Reproduction:
///
/// Component that connects the COR skinning algorithm to the Unity engine
///
[RequireComponent(typeof(Animator))]
public class AnimatorCOR : MonoBehaviour
{
}