0

I am wondering if I can turn on a quick diff feature in RubyMine. By default, in Netbeans, you see a green, blue or red bar on the left of the normal editor that shows what has been added/modified/deleted relative to the previous revision (Git or SVN).

You can also turn this option in eclipse.

Does it is exist in RubyMine?


To illustrate, On this image, you can see added code (green) and modified code (green) as a quick diff :

quick diff netbeans

Community
  • 1
  • 1
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236

3 Answers3

2

Yes, it does and it is enabled by default if you start a project created by a VCS working copy (example a git clone or an SVN checkout).

If VCS is not enabled, you can enable it in the project settings.

Here's a preview of the inline diff.

enter image description here

Simone Carletti
  • 173,507
  • 49
  • 363
  • 364
1

Yes. As long as you have version control enabled, RubyMine will display such diffs. There is no need to turn this on; the diffs are always shown.

yole
  • 92,896
  • 20
  • 260
  • 197
0

If you have opened a project cloned with git in rubymine; and if rubymine does not show the quick diff, try this: https://stackoverflow.com/a/18255516/311744. This will tell rubymine to use the current .git.

Community
  • 1
  • 1
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236