In the last two weeks Sublime I have grown keen on Sublime.
But one feature I painfully miss is the automatic insertion of parenthesis upon choosing a callable from the autocomplete/hint box. Sublime/Anaconda give me print but not print ().
-
Ideally the caret would be also placed in between those brackets, so I could immediately start typing parameters/arguments.
-
Even more ideal the caret would be placed after the closing bracket for callables not accepting or not requiring parameters/arguments.
Can this behavior I seek maybe unlocked with existing resources, like a setting in Sublime/Anaconda or a different plugin I have not yet found?
In case such is not possible. Can you give me any idea how complex it would be to write a plugin for it? (For simplicity restricting use case to python, maybe JavaScript here).
Thanks.
UPDATE: I checked autocompletion in JavaScript again and parenthesis plus argument placeholders are indeed sometimes added. I am not sure what to make out of this findings though.
- PyBen