26

Beyond Compare has a button and menu item Ignore Unimportant Differences. When selected the diff will ignore whitespace and various formatting differences, but will also ignore changes in comments. How can I make it show comment changes, but still ignore whitespace?

Tor Klingberg
  • 4,790
  • 6
  • 41
  • 51

2 Answers2

33
  1. Use the Session → Session Settings menu item.
  2. Go to the Importance tab.
  3. In the list box on the top left, check Comments.
  4. In the drop-down at the bottom left, choose Also update session defaults. (if you want to change it permanently)
  5. Click OK.
  6. Verify that View → Ignore Unimportant Differences is enabled.
J. Chris Compton
  • 538
  • 1
  • 6
  • 25
Tor Klingberg
  • 4,790
  • 6
  • 41
  • 51
0

For AutoHotKey users, here is a hotkey script to do this with a single hotkey which toggles comments between unimportant and important.

#NoEnv  
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance force

;Make hotkeys specific to BeyondCompare
#IfWinActive, ahk_exe BCompare.exe

;Hotkey here, Numpad5 is being used, could be anything
Numpad5::
send, !se{right}{right}{tab}{tab}{tab}{down}{down}{down}{down}{down}{space}{enter}
return
u8it
  • 3,956
  • 1
  • 20
  • 33