Announcement

Collapse
No announcement yet.

Ignore whitespace

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • JoeFinn
    started a topic Ignore whitespace

    Ignore whitespace

    Hi,

    I'm having trouble ignoring all whitespace differences between two files.

    - language is c
    - I want to ignore ALL whitespace differences both in comments and code
    * before, after and between

    How or can this be done?

  • Michael Bulgrien
    replied
    Michael - Yes, I am aware I said the same thing in a different way. I wasn't refuting your post... I was answering the original post in my own way.

    Joe - If your files have different file extentions than the ones defined in the BC3 format for C files (for example, C code saved in txt files) you can make sure that the View \ File Info bar is enabled, then override the default file format that BC3 detected when the comparison was opened. The File Info bar sits right under MRU droplist on each side of the compare. The File Info bar has a File Format droplist. Simply drop the list and select "C,C++,C# Source" from the droplist on both sides.

    Leave a comment:


  • bc3_user
    replied
    This is why I've written that C files (rule ?) should be checked. BC3 has to be told that the extension *.C should be handled via *.C rule.

    Ingnore Differences button [≈], has the same effect as View-->Ignore unimportant Differences

    Michael

    Leave a comment:


  • Michael Bulgrien
    replied
    Whitespace should be unimportant by default in the C file format.
    Toggle the Ingnore Differences button [] on the toolbar to hide unimportant differences in your compare.

    Leave a comment:


  • bc3_user
    replied
    Hi,

    use the following settings:

    enable checkbox Tools-->FileFormats->C/C++

    View-->Ignore unimportant Differences

    This should work for u.

    Michael

    Leave a comment:

Working...
X