25

I'd like my methods in classes sorted in Python files. I do wonder if PyCharm has such option (I couldn't find one).

User007
  • 295
  • 4
  • 11
  • This is registered in the developer [issue tracker](https://youtrack.jetbrains.com/issue/PY-11870) - you can vote for the feature directly to original developers. – Elijas Dapšauskas Feb 11 '18 at 13:50
  • 6
    This is sort of a workaround, but if you have the Structure tab open, then you can view your method sorted in alphabetical order (there's an option). It won't change the actual order in your file, but it should help with navigation. – Niayesh Isky Mar 23 '18 at 06:31
  • Thanks. I used the structure tab to sort the methods manually. – Nagabhushan S N Dec 14 '19 at 21:54

1 Answers1

9

Nowadays, there is code blocks sorter which might help with this feature

Mayday
  • 4,680
  • 5
  • 24
  • 58