Open
Description
One feature I've found useful in Chrome's devtools is that it will offer completions for Object keys even when accessed with the someObject[key]
syntax. I figure something similar could be possible for ptpython as well, at least for "vanilla" Python dictionaries.
For example, if I have the dictionary
my_dict = { "foo": 42, "bar": 24, "food": "pizza" }
when typing
my_dict["fo
into ptpython it could offer to complete to my_dict["foo"]
or my_dict["food"]
.
Hopefully this is something that would play will with Jedi, etc.!