문제

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?

도움이 되었습니까?

해결책

  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.

다른 팁

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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top