Skip to content

Feature Request: Include parentheses when tab completing functions #224

@mskar

Description

@mskar

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

  • VSCode (R pluginby Yuki Ueda):
    image
    image
  • the R language server.
    Could the code from the R languageserver issue above be adapted to radian?
    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 .radian_profile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions