79720206

Date: 2025-07-30 15:37:55
Score: 1.5
Natty:
Report link

I experienced the exact same a little over a year ago. If the whole program is formatted this way the you will just have to put aside a weekend where you don't write code and just format.

I setup a keyboard shortcut to join lines using Options-Environment->Keyboard. I set it to Ctrl+J, Ctrl+P. This only works across two methods.

enter image description here

Start your selection below the first curly brace that appears after the first method signature. Select over the next method and end your selection before the end curly brace of the second method as shown below

enter image description here

Use your shortcut to join lines. it will appear as below

enter image description here

Apply the Ctrl+K, Ctrl+D key combination. The outcome of this is shown below

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dragan Radovac