Displaying uncommitted changes to file in editor pane

Many IDEs show changes to a file in the editor itself. Commonly (Atom, VS code, Pycharm) this is in the sidebar, showing the lines of a file that have been changed.

For instance (VS code):

Addition to file signified by green section in the sidebar

Is it possible to enable this feature or something equivalent in RStudio?


1 Like

(As a new user, I could only add one image)

Second example:

Clicking on the highlighted section indicated what the exact change was

Dear torvaney,

have you come across a plugin or way of displaying such code changes? I would very much like to have this option too...

Best regards

Not yet. I think it might be worth checking/putting in a feature request on the RStudio github.

I submitted a feature request here: https://github.com/rstudio/rstudio/issues/2846

Give it a thumbs up or a comment if it's something you'd like to see or if you have anything to add.