Autocomplete pop-up behavior

Recently the autocomplete pop-up windows on my desktop version of RStudio has changed such that the pop-up appears above the code line. The suggestion order has changed to the first suggestion apearing at the bottom of the pop-up and then proceeds going up the list. For example:

I want to reset autocomplete to its more traditional state (screenshot from a different pc):

(Since, apparently, new users can only include one image in a post, you have to imaging an image here with the pop-up extending below the code line with "ins" typed. The InsectSprays {datasets} is at the top of the list, and likely choices proceed down the list from there. )

This behavior has persisted through at least three RStudio version updates. I have spent a fair amount of time trying to undo this, but with no success. So, is there a way to reset the autocomplete behavior?

1 Like

This is related to having code-completions (AI) enabled.

You should be able to restore the old behaviour in Tools > Global Options > Assistant, by selecting (None) for "Use code assistant".

See Autocomplete menu appears above line instead of below · Issue #14012 · rstudio/rstudio · GitHub for more details.

1 Like

Completely understandable you couldn't figure this out, I had no idea this was a thing, either. :hammer_and_wrench:

1 Like

Gary,

That totally works. And I had, in fact, completely missed the GitHub post.

Thank you so, so much.

1 Like

This sounds like it might be related to the graphics rendering engine. You could try going to Global Options > General > Advanced and changing the 'Rendering Engine' to 'Software' or 'Desktop OpenGL' to see if that resets the UI positioning behavior.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.