After update to 2024.2, color schemes work on launch, stop working after a moment

After I updated to 2024.2, there is a recurring issue. The color schemes for the editor works when I launch the solution, but stop working after a minute or so. The only way I got it working is to invalidate cache and restart, which is pretty inconvenient. Restarting without invalidating the cache does not fix the issue, as the color schemes will work but return to only white text after a minute. It looks like the color schemes stop working after the IDE finishes indexing, but I'm not sure if it is only a coincidence.

7
36 comments

Hello Cguillet ,

Thank you for reaching Rider Forum.

Could you please reproduce the issue and collect the full log bundle so we could take a closer look at the case? You can upload it to https://uploads.jetbrains.com and provide the ID of the download.

Also, a screen-shot of the issue would be helpful.

Thank you in advance and have a great day!

0

Here's the ID, you will see screenshots and the logs : 2024_08_23_HJUSzZb6LJYRyzjMrcMXZD

0

Hello Cédrick Guillet ,

Thank you for providing me with the data. 

As far as I see, you are already investigating the issue on the private matter by submitting a ticket. 

I would suggest then narrowing the investigation to one place for not mixing up things. At the moment, the ticket is in pending status, thus, please provide further details to continue the investigation. 

0

Hi ! i have the same issue but also rider will not be able to find any references to classes in code, i cannot show the context actions menu and all other code analysis features seem to stop working…

0

I can confirm, neither function coloring nor code references like find usages work anymore. I'm using 2024.2.3 and Gdscript

0

I met the same issue have to turn off then turn on to it working

0

Hello,

We are actively investigating the issue with code highlighting. Should you experience such an issue, we would appreciate it if you could submit a dedicated issue and attach additional information as described below:

  • Go to Help | Diagnostic tools | Choose Trace Scenarios;
  • Enable trace scenarios for Editors and Documents
  • Reproduce the issue;
  • Collect the full log bundle via Help | Collect Logs and Diagnostic Data;
  • Disable the trace scenarios enabled;
  • Submit a bug using this link: Submit;
  • Attach the resulting log bundle to this ticket or upload it to our server and share the ID in the issue description.
  • Attach a screenshot that demonstrates the issue;

Thank you in advance and have a great day!

0

I have the same issue here are the logs + screenshot:


Upload id: 2024_09_04_24uvuJDdwhcTx4xzaXFdFv

0
Hello Gdubois,

Thank you for the upload. Would you mind confirming if the issue occurs after Windows startup (reboot->login->launch Rider) and if adding a new .cs file to a project brings highlighting back?

Have a nice day!
0

Hello,

I'm on Linux (Ubuntu 22.04). I restarted my computer + invalidate caches and now it is working without problem. I'll update here if I encounter this problem again.

0

I also made a bug report and uploaded the logs. For me neither restart nor cache invalidate helps.
 

Upload ID: 2024_09_04_XEeAPgEu72crtfemSg5DbM

0

I have upload the log file, in my case it happen randomly but if I restart or turn off and then reopen it not happen anymore. The log I upload contain multiple time I face the issue. Current OS I use is window 11, I also use rider on macbook M3 but I don't see this error happen

Upload id: 2024_09_04_DKNQjDdNFM5dVkinJeg3Yz (file: log.rar)

0

Thank you!

The next time, please check if adding a .cs file to a project brings highlighting back in the affected files. If so, this is a known issue which is already fixed in the upcoming 2024.2.4.

I would appreciate it if you could confirm back to me after checking this.

0

Unfortunately adding new .cs in my case not working. I recognize only key word are highlight  both before and after add .cs file, Hope this will help.

2024_09_05_uUnKYag2CcUm1xGREzpYPs

0

My bug submit is about Gdscript where nothing works anymore since 3 updates, see above. So .cs files are not present and adding gd files doesn't help.

0

Deftig, Thank you for the clarification. We are looking into this. I'll provide an update as soon as I have any news.

Vikto132, When the problem reoccurs, could you please make sure that reopening the file with broken features doesn't fix the problem and then invoke Help -> Diagnostic Tools -> Collect Backend Thread Dumps action? The explorer will open in the folder with thread dumps after you click on this action. Please, upload the generated files to our server and share the ID in the issue description. Thank you!

0

I have open and close multiple file this time. I found one more thing is maybe only .cs file effected, I working with docker file and ide work smoothly.

2024_09_07_28tXrqYXCKJvJqZY9foSEU 

0

In my case, adding a new .cs file fixes the code highlighting.

0

Hi ! i have attached my log file Upload id: 2024_09_10_mRLhBJ9SSqKGKmwux2AnGJ .

Adding a new cs did not fix my issue, neither did invalidating caches and restarting

0

Referencing your hint about the issue being fixed in 2024.2.4 https://rider-support.jetbrains.com/hc/en-us/community/posts/20908357539986/comments/21184834492946

Before I could only fix the error by invalidating caches, which is obviously not an actual workaround. Now I tried the fix using a new .cs file and it worked immediately.

I am on the newest released version, which is 2024.2.4, so do you have reports from other users who say that the issue has not been fixed successfully?

0

Hello,

Indeed, the issue isn't completely fixed yet in 2024.2.4. Apologies for the incovenience. We are actively working on a fix for this bug.
There are the known workarounds for the issue:

  • Create a new source file in a project (.cs, C++ class, Unreal Class, gd script …);
  • If that doesn't bring highlighting back, close Rider completely and open project again);
  • If that doesn't help, invoke File → Invalidate Caches;

Should I have any news, I'll let you know.

Dringuet , I am sorry to know nothing helps in your case. The issue you experience probably has a different reason. We would appreciate it if you could submit a dedicated bug to our tracker and share more diagnostic information as instructed below:

  • Start bug submission process by pressing Submit;
  • Describe how the issue occurs. Does it happen right after opening a project or does it happen a random time (5-10-30 mins) after you started working on a project?
  • Enable Editors and Documents trace scenarios via Help → Diagnostic Tools → Choose Trace Scenarios;
  • Press Shift+Shift → Start typing and select “Debug Log Settings”. Paste this com.intellij.openapi.editor:trace into the text box and click OK;
  • When the issue occurs, collect jstack dumps of rider64.exe;
    • Open terminal in {RiderInstallationPath}/jbr/bin;
    • Find PID of rider64;
    • Invoke jstack -l PID>dump.txt; The file should generate under {RiderInstallationPath}/jbr/bin/
  • Switch back to Rider and invoke Help → Diagnostic Tools → Collect Backend Thread Dumps;
  • Invoke Help → Collect Logs and Diagnostic Data;
  • Attach the files collected to the bug.

Have a nice day!

0

Dmitry Kazantsev i have already submitted a bug last week (https://youtrack.jetbrains.com/issue/RIDER-117204/Code-analysis-not-working-after-starting-rider) , i will try your new instructions but can you confirm this will work on linux ? (i am on RHEL 9)

0

After update, the error getting worst. Before I just need to restart Rider and everything working normal now I need restart multiple time to working.

log id: 2024_09_17_VGMutoLgVcYtkHjY4jkfAw

0

Hello,

We fixed this issue in the development branch (the fix will be in the upcoming 2024.2.5) and already shipped the fix with 2024.3 EAP1.

Feel free to try 2024.3 EAP1. You can get it via ToolBox (… next to Rider → Other versions) or from this download page.
If the issue occurs in one of these versions, please let us know.
 
Have a nice day!

0

I downloaded 2024.3 EAP1 but it's still the same. You guys just have to open a Godot project and observe the issue. No function calls or properties are colored and find usages still does not work.

0

Hello Deftig,

I am sorry to know that. And is it same in 2024.2.5? If so, I would appreciate it if you could share the following details.

  • Describe how the issue occurs. Does it happen right after opening a project or does it happen a random time (5-10-30 mins) after you started working on a project? 
  • Enable Editors and Documents trace scenarios via Help → Diagnostic Tools → Choose Trace Scenarios;
  • Press Shift+Shift → Start typing and select “Debug Log Settings”. Paste this com.intellij.openapi.editor:trace into the text box and click OK;
  • Restart Rider and reproduce the issue;
  • When the issue occurs, collect jstack dumps of rider64.exe;
    • Open terminal in {RiderInstallationPath}/jbr/bin;
    • Find PID of rider64;
    • Invoke jstack -l PID>dump.txt; The file should generate under {RiderInstallationPath}/jbr/bin/
  • Switch back to Rider and invoke Help → Diagnostic Tools → Collect Backend Thread Dumps;
  • Invoke Help → Collect Logs and Diagnostic Data;
  • Disable trace scenarios enabled and “Debug Log Settings”;
  • Upload collected files to the Upload service and let me know the Upload ID;

Have a nice day!

0

in 2024.2.5 i still have no theme colors for function and property calls. I uploaded the requested files and a screenshot here:

Upload ID: 2024_09_23_k53c3nTSTW19umvfacdQ5s

0

Hello Deftig,

Thank you for the details shared. I see the difference agains 2024.1.6. Indeed method calls (for ex, object.methodCall() ) are highlighted in 2024.1.6 and not in 2024.2.5. We are looking into it and I'll provide an update as soon as I have any news.

Are you sure the property accesses were highlighted earlier (in 2024.1.6?)? (for ex: var SomeName = SomeObj.SomeProperty, is SomeProperty used to be highlighted?). I do not see it highlighted with JetBrains Godot plugin neither in 2024.1.6 nor in 2023.3.6.

Have a nice day!

0

Thanks for looking into it! 

Regarding the property coloring i don´t know if it used to work in 2024.1.6 but according to the color theme settings they should be colored as well no? At least it would expect that.

 

0

Please sign in to leave a comment.