Rider. Make folding to collapse by default

Planned

Hi, I'm trying to create a simple Rider plugin for folding. And I want it to be collapsed by default, but I cannot find any information about it in the documentation. 

I tried to make a copy of CodeFoldingProcess with the property ‘collapsedByDefault’ set to true: https://github.com/Simplifier/Javalize/blob/a23499aedfadfebde41e98086c2d77a5842e14a5/src/dotnet/ReSharperPlugin.Javalize/BraceFoldingProcess.cs#L42

But it doesn't help, unfortunately, this property is ignored.

What am I doing wrong? Should I use another approach?

0
1 comment

Is it really impossible to do?

0

Please sign in to leave a comment.