Shortcut Key to wrap up all the regions created in the class

Ask general questions here.
premravi
Posts: 128
Joined: Tue Jan 08, 2019 1:55 pm

Shortcut Key to wrap up all the regions created in the class

Post by premravi » Fri Sep 06, 2019 2:31 pm

Hi,

One basic look and feel related query

I create regions for each method with proper explanations what it is doing

Now I have so many regions inside a class

Please help me with a shortcut key with which I can wrap up all the regions at once

Regards

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Shortcut Key to wrap up all the regions created in the class

Post by odklizec » Fri Sep 06, 2019 2:43 pm

Hi,

Ranorex Studio is based of SharpDevelop, for which you can find list of shortcuts here:
https://github.com/icsharpcode/SharpDev ... -Shortcuts
If there is no shortcut you are looking for, then all you can probably do is to create a feature request here:
https://uservoice.ranorex.com/forums/15 ... ve-ranorex
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

dhale
Posts: 84
Joined: Thu Feb 27, 2014 7:33 pm

Re: Shortcut Key to wrap up all the regions created in the class

Post by dhale » Fri Sep 06, 2019 2:45 pm

I think this is what you want: https://github.com/icsharpcode/SharpDev ... -Shortcuts
Scroll down you will see:
Ctrl+Shift+L Edit > Folding > Toggle all folds Code folding: Switch all foldings
Ctrl+Shift+M Edit > Folding > Toggle fold Code folding: Switch folding of the current section; to do so you must set the cursor in the first line of this section
Ctrl+Shift+P Edit > Folding > Show definitions only Code folding: Show definitions only

LowellK
Posts: 1
Joined: Fri Aug 18, 2017 11:26 am

Re: Shortcut Key to wrap up all the regions created in the class

Post by LowellK » Sat Sep 07, 2019 8:51 pm

premravi wrote:
Fri Sep 06, 2019 2:31 pm
Hi,

One basic look at these famous fat burners and feel related query

I create regions for each method with proper explanations what it is doing

Now I have so many regions inside a class

Please help me with a shortcut key with which I can wrap up all the regions at once

Regards
Is it simple to implement these shortcuts?
Last edited by LowellK on Tue Sep 05, 2023 1:43 pm, edited 2 times in total.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Shortcut Key to wrap up all the regions created in the class

Post by odklizec » Sun Sep 08, 2019 9:04 am

Hi,

For you? It’s impossible, without access to Ranorex Studio code. There is currently no mechanism for custom shortcut creation. So it must be done by Ranorex developers.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration