How to make Beyond Compare ignore whitespace, but still show changes in comments
Asked Answered
C

2

27

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?

Cicero answered 11/7, 2013 at 13:30 Comment(0)
C
35
  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.
Cicero answered 11/7, 2013 at 13:30 Comment(5)
Do you know how to get it to ignore white space for folder compare?Wish
"Ignore Unimportant Differences" - where is this? Can't see it in BC 3Oba
"Ignore Unimportant Differences" is in the View menu.Aurum
i cant fine "comments". May be i have newer BeyondCompare. I found "leading white spaces in the lower menu" thoughSherbet
@M.UsmanKhan It will be in the grammar elements box once you choose a source type on the Format tab for the Left and Right.Unapt
C
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
Clementclementas answered 30/4, 2018 at 20:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.