value of dictionary's key in tooltip

It may happen I am missing something and this is already implemented in some way, but let me try:

When debugging, one can move a mouse over e.g. "myMember" word in "self.myMember" text in the editor and Pycharm shows a current value of it in a tooltip under a mouse cursor, super handy feature.
Would it be possible to extend this to dictionaries as well, pretty please?

  1. le's have a dict in the editor ex.: myDict["myKey"] and we're debugging.
  2. move mouse over "myDict" >> behave as currently implemented, list all members in a tooltip etc.
  3. BUT move mouse over "myKey" text >> display JUST this specific dict value in the tooltip.
    -- This means dicts would behave like objects already do... if one moves a mouse over "self", a debugger displays info on the object, but when a mouse is over a member of it, it displays value of that member.
  4. and consider following, too: I believe Visual studio may have it? Select a range of text to a block (like if preparing for copy to clipboard) and move mouse over this selection >> then display value of the selected text in the tooltip (evaluate it). That is also pretty useful feature.
0

Please sign in to leave a comment.