randy3k / radian

A 21 century R console
MIT License
1.98k stars 74 forks source link

Feature Request: Include parentheses when tab completing functions #224

Open mskar opened 3 years ago

mskar commented 3 years ago

Tab completion in RStudio shows functions without parentheses in the completion menu: image but when I tab complete a function the parentheses are included and my cursor is inside the parentheses: image I would like tab completion of functions in radian to behave the same way (i.e. add parentheses after the function name and put my cursor inside the parentheses): image image The desired result in radian would look like this: image Adding parentheses to completed functions is the default behavior in

mskar commented 3 years ago

I submitted a pull request that implements the changes described above: #229.

Note: This also completely changes how completion works:

Tab:

Enter: