Just trying Raider, and code keeps unfolding constantly

Answered

Hello.

Im been trying Raider for a few days and its great, but unlike Visual Studio which keeps folded regions  FOLDED, Raider keeps unfolding them for no reason. Unfortunately for me its impossible to work when it constantly does that.

I been looking for some answers but I couldnt find any.

Are there any  fixes or its just how raider works?

1
9 comments
Avatar
Margarita Tyumenkova

Hello Ionutbaza26,

Please check folding settings: Editor | General | Code Folding

If it doesn't help, please provide the following information:

- IDE version

- screenshot of Code Folding settings 

- a file or code snippet that would be sufficient to reproduce the problem

0

This happens to me as well. It also happens quite a lot.

 

Here are a few more details about my circumstances:

* I work on a very big, C++ Unreal Engine project

* The bug seems to happen when Rider is apparently re-parsing a file

* The bug seems to happen more whenever Rider is showing a popup in the lower right corner (such as: “Parsing solution…”, I don't know)

* The bug can randomly happen when I…

a) add a function (I usually declare a function in the .h file, then use Rider's right-click menu to complete it in the .cpp)

b) refresh pages from outside (revert a file in Perforce)

c) auto-complete code with a suggestion of Rider

d) have been working quite fast for a little while (when Rider seems to be catching up with the amount of work I just did)

e) etc.

 

Here are my Code Folding settings:

 

I hope this helps. This can be a very intrusive issue as I heavily use folding when working.

0

Hi there, 

As a first step, could you please update Rider to the latest version, 2025.3.2, and check whether the issue still occurs? If the problem is still reproducible in 2025.3.2, please let me know whether it happens in other projects as well or only in this large C++/Unreal Engine project.

It would also be very helpful if you could reproduce the issue once in 2025.3.2 and then collect the IDE logs for investigation. For that, please restart the IDE, reproduce the issue, and then collect the IDE logs by going to Help > Collect Logs and Diagnostic Data. You can upload the resulting zip file to our private server and share the upload ID with us. If possible, please also mention the approximate time (with timezone) when you last saw the folds unexpectedly expand so we can correlate it with the logs.

0

Thanks Aram. I now just updated Rider to 2025.3.2. If I encounter the bug again, I will provide you with logs.

0

Hey Aram,

After a few days of upgraded Rider, the issue is still occurring. It seems a bit less agressive.

As asked, here are my logs after I saw the problem happen.

Data & approximate hour: 2026-02-16, between 10:20-10h25

Now, how exactly do I access the server you mentionned so I can upload my logs?

0

Hi Myriam Claveau-mallet. My bad, it seems that the hyperlink wasn't added. Please collect the IDE logs by going to Help > Collect Logs and Diagnostic Data, and then upload the resulting zip file to our private server and share the upload ID with us.

Also, does the issue occur only when working on large projects? Like is the issue reproducible when working on a minimal project?

0

Upload completed!

Upload id: 2026_02_17_26mZVKhPwkGipVMbBTkY94

(files: rider-logs-20260216-1025289434360134457010634_checkAround10h20-25.zip, rider-logs-20260216-13102616866221151020610505_checkAround13h10.zip)

I mentioned the time to look for the bug in the logs file name.

0

Hi Myriam Claveau-mallet, thank you for the log files provided. 

From the logs it looks like constantly refreshing files from Perforce, which triggers VFS updates. During these refresh cycles, the editor document is reloaded/re-synchronized, and folding regions are recalculated, which can cause collapsed regions to expand.

Could you please check whether the issue still reproduces in the latest Rider 2025.3.3? We’ve made a number of improvements around indexing and editor stability, and it would be helpful to know if the behavior is still present there.

If it does persist in 2025.3.3, could you please try disabling Always sync local changelists with Perforce in Settings | Version Control | Perforce? You can also try temporarily disabling the When switching to the IDE window or opening an editor tab option under Sync external changes: in Settings | Appearance & Behavior | System Settings.

These options can trigger background refreshes when files change externally, and that may be causing the editor to reload files and expand folded regions.

Also, some Unreal build steps may update timestamps or regenerate files in the background. If files are being modified constantly, Rider will repeatedly refresh them, which may reset the folding state. You can check this by watching the file timestamps in the project and temporarily pausing background build/generation tools if possible to see whether the behavior stops.

Please let me know if that helps.

0

Thank you for your elaborate answer. I will update to 2025.3.3 and look out for the issue again. I will make sure to give a try to your suggestions and see if it makes any difference. Thanks again!

0

Please sign in to leave a comment.