6

Is there a way to change the order of methods in PyCharm? I would expect a dialog similar to that for changing the order of parameters in a function call, but I can't find it.

The only way I am aware of explicitely copy/pasting the code.

If it is possible then how?

bad_coder
  • 11,289
  • 20
  • 44
  • 72
Tim
  • 1,430
  • 15
  • 36

1 Answers1

7

You can try these:

grundic
  • 4,641
  • 3
  • 31
  • 47
  • Move class/function only works for moving classes functions between files not for reordering. The keyboard commands are exactly what I was looking for. – Tim Nov 07 '17 at 08:32
  • 1
    Using `Ctrl+Shift+Minus` and `Ctrl+Shift+Plus` to collapse all the functions in a file helps a lot. – Josiah Yoder Aug 15 '22 at 15:31