Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2018
    Posts
    1

    Default Moved lines and Alignment on File comparsion.

    Is there any option to complete ignore lines which have been merely moved?

    For example, Visual Studio (2003) Form designer automatically generates a lot of code relating to the form's controls. Whenever a change is made to the control, it re-generates this section which can quite often be in a completely different order. Unfortunately it also sometimes decide to change the position of the controls slightly resulting in the controls driftly slightly out of alignment.
    Correcting this using Beyond Compare is usually very straight forward, except when VS has moved all the lines around.

    I have tried changing the alignment options in the viewer, but this does not seem to help. I am not sure whether this could be because there is no large section of un-changed code, because maybe every tenth line has been amended (as well as being moved)

    Does this make sense and is should Beyond Compare cope with this?

    Thanks

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,782

    Default

    Hello,

    The general strategy is to use a conversion process which can sort the lines back into a common order. We have a few for download to help tidy HTML and XML, but not one specific for VS Form files. We do have a KB article example (for resx files) which applies as a general strategy for any command line conversion utility:
    http://www.scootersoftware.com/suppo...rnalconversion
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •