Giter Club home page Giter Club logo

extdiff's People

Contributors

devegied-lamabpo avatar fornever avatar jonmseaman avatar jtpereyda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

extdiff's Issues

Add Combine/Merge functionality for Word

Word has a "Merge" or "Combine" mode as well diff/compare (at least in the latest versions).

Propose extending the tool to accept a merge mode in addition to diff which will use the Word Combine mode instead of Compare. This appears to accept multiple files so it could be either 2 or 3-way merge (thus could be easily configured to work with git in the same way diff is).

Here is a Microsoft page explaining how to use the Merge function. Wouldn't it be nice if MS had command-line arguments for these functions?

Git integration

Have you tried integrating this with git as a diff tool?

I'm considering trying it out, as I would like to do version control with word files.
I'm looking at how to do it on Stack Overflow
It would be very useful for me.

Freezing ribbon

Whe using script to open compare window, the ribbon panel is freezin, cant click any button in it etc. After window resize os window switch focus the panel unfreez.

I had to add change ActiveWindow.WindowState to normal/max and back to work it around.

Document comparison is opposite from expected order

Per the readme, the expected PowerShell call syntax is as follows:
powershell -File Diff-Word.ps1 oldfile.docx newfile.docx
However, the result is the opposite: Word treats newfile as the original and oldfile as the updated. This is because the Word command Document.Compare expects the syntax NewDocument.Compare(OldDocument, ...) but the PowerShell script uses OldDocument.Compare(NewDocument, ...) which explains the inverted result in Word. Unfortunately the correct syntax is very unclear in the Microsoft documentation so the confusion is quite understandable. However, the PowerShell script should align with the correct use of the Word command.

Enable extdiff with git globally

At the moment, you must configure each repository to pass the diff to ms word, since you need to copy the .gitattributes file in the repository.

However, there is a possibility to make it available globally for all projects of a user. You can copy the .gitattributes file into the user's home directory instead into your projects root directory. Git need to know the location of that file. You can set it and check if the path is correctly expanded to the location where you copied the .gitattributes file:

git config --global core.attributesfile ~/.gitattributes
git config --global core.attributesfile

I suggest to update the README.MD to help also user's who are inexperienced with git.

Thanks by the way for that really cool tool.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.