Partial syntax highlighting in Unity project after loading finishes

Kind of similar to this post, but mine is a Unity project: https://rider-support.jetbrains.com/hc/en-us/community/posts/8674549232274-Only-partial-Syntax-Highlighting-for-Unreal.

Everything else seems to work fine, I'm just not getting full syntax color highlighting.

Fresh Unity install: Unity 2021.3.3f1

Fresh Rider install: 2022.3.2

The external editor is set in Unity

The Rider package is installed in Unity

Highlight: All Problems is selected

I then open the project from Unity by right clicking on Assets and selecting the option "Open C# project".

I uploaded Rider logs at this Upload ID: 2023_02_06_pZw4XT5rWDhjDMd5nTgxyo  

And I uploaded a dump of the highlighters at this Upload ID: 2023_02_06_24Tp411fyzDxaPWSaJoMZx 

When the project first opens up, I get full syntax highlighting

But after a few seconds when it finishes loading, it only has basic syntax highlighting

I also tried invalidating caches, and installing Rider EAP.

0
6 comments

Figured it out, the project had `IdentifierHighlightingEnabled` set to False in the DotSettings.user file.

0

Hi Alex Cornellier

Glad to hear you found a solution! If you have any other issues or questions, do not hesitate to contack us. 

 

0

Is there a relevant setting in the GUI? I searched for ages.

0

Hi Alex! 

AFAIK, this setting is for C++ only. Do you remember the full settings key? 

0

Yes, it looked like this

<s:Boolean x:Key="/Default/CodeInspection/Highlighting/IdentifierHighlightingEnabled/@EntryValue">False</s:Boolean>
0

Hi Alex! 

Sorry, I missed the setting. It is under `File | Settings | Editor | Inspection Settings => Corol Identifiers`. The state of this setting also could change if you use ReSharper and sync your settings with Rider. 

0

Please sign in to leave a comment.