Sort lists in variable explorer and erase variables from pycharm's variable explorer

Answered

Hello there

I noticed that the lists in the variable explorer in Pycharm appear in a seemingly random order. Is there a way to sort them from 0 to the last element?

I am also looking for a way to erase all the variables from my variable explorer. I am using scientific mode often and it gets polluted really fast!

 

Thank you in advance

1
3 comments

Hi Smitropoulos,

the lists in the variable explorer in Pycharm appear in a seemingly random order

Could you please give an example? Are you on Windows?

I am also looking for a way to erase all the variables from my variable explorer.

The simplest way I can think of is to restart the Python console to get rid of all objects.

0
Avatar
Permanently deleted user

Hello Pavel,

I am on Linux right now. Please take a look a the attached image:

This behaviour is consistently random (?) throughout any lists I have made as far as I can remember.

 

Thank you for the kernel reload method, seems to be working fine!

0

Thank you, reproducible on Linux for me as well. I've updated the relevant ticket in PyCharm bug tracker: PY-28363. Please feel free to vote/comment.

0

Please sign in to leave a comment.