File layout grouping regions by name

Hello, please help

How to configure the layout of a file so that it can be grouped by the name 

before Code Cleanup

Snippet

public void testOne_blabla_bla()
{
}
 
public void testOne_bla_bla()
{
}
 
public void testTwo_blabla_bla()
{
}
 
 
public void testTwo_bla_bla()
{
}
 
public void testThree_blabla_bla()
{
}
after Code Cleanup
Snippet
#region testOne
public void testOne_blabla_bla()
{
 }
 
public void testOne_bla_bla()
{
}
endregion
 
#region testTwo
public void testTwo_blabla_bla()
{
}
  
public void testTwo_bla_bla()
{
}
#endregion
 
#region testThree
public void testThree_blabla_bla()
{
}
#endregion



 

 

 

1 comment
Comment actions Permalink

https://youtrack.jetbrains.com/issue/RSRP-484648

 

There was a feature request for this - I used your example. This is exactly what I need as well :) Please leave an Upvote ! Maybe there will be something like this one day...

0

Please sign in to leave a comment.