|Display indicator in code editor when source has changed? [message #556488]
||Wed, 01 September 2010 14:45
Registered: September 2010
Is it possible to configure Subversive to display an indicator in the code editor when you have made a change compared to the last (base/local) svn revision of the file?`
Intellij does this elegantly by putting a small icon in the right or left bare in the code editor. This makes it very easy to see what changes you are committing (instead of using the "compare to" feature every time..).
|Re: Display indicator in code editor when source has changed? [message #556649 is a reply to message #556633]
||Thu, 02 September 2010 08:30
| Jörg Thönnes
Registered: July 2009
On 09/02/2010 09:39 AM, Alexander Gurov wrote:|
> It seems the "Quick Diff" option is just what you need. In order to
> enable it please follow those steps:
> 1) right click on the left field of the source editor
> 2) choose "Show Quick Diff" menu item
Ah, thanks Alexander. I know "Quick Diff" because this also displays annotations, but was not aware
The colours are quite light and not easily visible. Maybe they should be configured.
In addition, I found the "Preferences" entry for "Quick Diff" (which can easily accessed using the
same right-click and selecting "Preferences..." below):
General->Editors->Text Editors->Quick Diff
Here John can configure all its needs:
[x] Show in overview ruler (i.e scroll bar on the right side)
colors for add, delete, change (could be more intensive for me)
And most notably: Reference source:
Default is "Version on Disk", but Johns wants "SVN Working Copy Base".
For "Version on Disk" every Save clears the indicators, while "SVN Working Copy Base" gets cleared
only on commit/revert.
Anyway, thanks for your hint, which let me learn something new :-)
Powered by FUDForum
. Page generated in 0.20414 seconds