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.
Please sign in to leave a comment.
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!
Here's the ID, you will see screenshots and the logs : 2024_08_23_HJUSzZb6LJYRyzjMrcMXZD
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.
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…
I can confirm, neither function coloring nor code references like find usages work anymore. I'm using 2024.2.3 and Gdscript
I met the same issue have to turn off then turn on to it working
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:
Editors
andDocuments
Thank you in advance and have a great day!
I have the same issue here are the logs + screenshot:
Upload id: 2024_09_04_24uvuJDdwhcTx4xzaXFdFv
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!
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.
I also made a bug report and uploaded the logs. For me neither restart nor cache invalidate helps.
Upload ID: 2024_09_04_XEeAPgEu72crtfemSg5DbM
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)
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.
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
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.
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!
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
In my case, adding a new .cs file fixes the code highlighting.
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
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?
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:
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:
com.intellij.openapi.editor:trace
into the text box and click OK;jstack -l PID>dump.txt
; The file should generate under {RiderInstallationPath}/jbr/bin/Have a nice day!
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)
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
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!
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.
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.
com.intellij.openapi.editor:trace
into the text box and click OK;jstack -l PID>dump.txt
; The file should generate under {RiderInstallationPath}/jbr/bin/Have a nice day!
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
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!
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.
Deftig would you please try a different color schema in Rider.
I think, you are facing https://youtrack.jetbrains.com/issue/RIDER-117530/GDScript-TextMate-highlighting-doesnt-look-pretty-with-every-Rider-color-schema