Is there a way to have VCS change highlighting highlight the diff between local code and a branch instead of local code and local commits?
已回答
I do most of my work in feature branches. I'd like if it were possible to have the VCS change highlighting highlight the difference in code between the code I'm viewing and master. I know you can compare the branches and view all the changes, but it would be nice if there were an option to change what is highlighted in the gutter to represent this diff instead of just the diff of local vs commits.
请先登录再写评论。
Similar question: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000390859-Tracking-changes-to-a-file-in-the-editor-against-master-or-any-other-branch- .
Related issues:
https://youtrack.jetbrains.com/issue/IDEA-24398
https://youtrack.jetbrains.com/issue/IDEA-161465 .
Looks like it's been a request for ~10 years without anything implemented :/ At least the Git Scope plugin made by a user seems to do similar things!