Description
When completing a function,
ptpython does not add parentheses after the function name.
I would like tab completion of functions to also add parentheses and put my cursor inside the parentheses:
Other examples:
Tab completion in IPython shows functions with parentheses in the completion menu:
but when I tab complete a function the parentheses are not included:
It would be better if IPython would add parentheses and put my cursor inside the parentheses:
Adding parentheses to completed functions is the default behavior in
- VSCode:
- PyCharm:
And it can be enabled in the Python language server protocol (LSP).
I think this feature would be widely appreciated by users and should be the default behavior for tab completion of functions. Some users may prefer the current behavior, so ideally it would be controlled via a setting in ptpython/config.py
.