Rider. Make folding to collapse by default

已计划

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

Is it really impossible to do?

0

请先登录再写评论。