You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature request] Display uncommitted changes to file in editor pane (git) #2846
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.
In many cases, the detailed view of changes provided by git diff (or the equivalent window provided by clicking through RStudio's git pane) is more than required. A quick view of where a given file has changed is often sufficient.
It would be great to enable this functionality in RStudio, to see quickly where files have changed, without having to invoke git diff ... or click through the git pane.
Great suggestion, and one that is standard in most other editors these days (and see the images that @Torvaney offered in their original post on the community page). The Git pane is nice but I hardly use it as it doesn't offer much beyond the command line.
Activity
stale commentedon Feb 5, 2021
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
jmcphers commentedon Feb 10, 2021
This would be neat.
niekwit commentedon May 13, 2021
This would be a great feature!
arnohakk commentedon Dec 13, 2021
Yes, please!
soumyaray commentedon Jan 3, 2022
Great suggestion, and one that is standard in most other editors these days (and see the images that @Torvaney offered in their original post on the community page). The Git pane is nice but I hardly use it as it doesn't offer much beyond the command line.
olivroy commentedon Feb 29, 2024
there was a proof of concept attempted in #11985
3 remaining items
keep the git gutter marker clear of the fold arrow and the peek open …
git gutter: skip symlinked index entries, keep control characters, an…
git gutter: match the index entry literally and refresh on split-view…
git gutter: drop the old base as soon as save as changes the path
git gutter: keep the peek off notebook output rows, follow reopen-wit…
git gutter: follow renames and stay out of the equation preview's way
git gutter: tolerate ace dropping its line widget collection under an…
git gutter: clear a folded peek's alias on close, and tighten two tests
git gutter: spell out the index stage when fetching the base
git gutter: focus the editor on marker and peek interactions so the b…
show git changes in the editor gutter (#19204)
keep the git gutter peek's buttons near the marker that opened it (#1…
show git changes side by side in the editor (#19212)
git change review: toolbar toggle, revert bar, pane headers, go-to-ch…