Use Visual Studio 2012's built-in comparer #32

Closed
SLaks opened this Issue Jun 11, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@SLaks

SLaks commented Jun 11, 2012

VS2012 has a built-in differ, which allows the current file to be edited with full IntelliSense (as long as it was opened from the project)

Can GitSCP use this in VS2012?

(Either from right-click, Compare, and perhaps also embedded in the right pane)

@yysun

This comment has been minimized.

Show comment
Hide comment
@yysun

yysun Jun 11, 2012

Owner

To use vs 2012's built differ, the command is devenv /diff .

Currently GitSCP supports setting the path the diff tool, but it does not support command line options. It is being work on.

Owner

yysun commented Jun 11, 2012

To use vs 2012's built differ, the command is devenv /diff .

Currently GitSCP supports setting the path the diff tool, but it does not support command line options. It is being work on.

@SLaks

This comment has been minimized.

Show comment
Hide comment
@SLaks

SLaks Jun 11, 2012

I already tried that, by writing a batch script to add the command-line
option.

However, the resulting diff view has neither syntax highlighting nor
in-project auto-complete.
To support that, I believe you need to invoke the diff from the VS API
directly.

On Mon, Jun 11, 2012 at 1:18 PM, Yiyi Sun <
reply@reply.github.com

wrote:

To use vs 2012's built differ, the command is devenv /diff .

Currently GitSCP supports setting the path the diff tool, but it does not
support command line options. It is being work on.


Reply to this email directly or view it on GitHub:

#32 (comment)

Schabse Laks
@schabse http://twitter.com/Schabse |
StackOverflowhttp://stackoverflow.com/users/34397/slaks
| Blog http://blog.slaks.net/

SLaks commented Jun 11, 2012

I already tried that, by writing a batch script to add the command-line
option.

However, the resulting diff view has neither syntax highlighting nor
in-project auto-complete.
To support that, I believe you need to invoke the diff from the VS API
directly.

On Mon, Jun 11, 2012 at 1:18 PM, Yiyi Sun <
reply@reply.github.com

wrote:

To use vs 2012's built differ, the command is devenv /diff .

Currently GitSCP supports setting the path the diff tool, but it does not
support command line options. It is being work on.


Reply to this email directly or view it on GitHub:

#32 (comment)

Schabse Laks
@schabse http://twitter.com/Schabse |
StackOverflowhttp://stackoverflow.com/users/34397/slaks
| Blog http://blog.slaks.net/

@yysun

This comment has been minimized.

Show comment
Hide comment
@yysun

yysun Jun 11, 2012

Owner

Thanks for the hint. I'll search VS API then.

Owner

yysun commented Jun 11, 2012

Thanks for the hint. I'll search VS API then.

@yysun yysun closed this in 9da5c2c Sep 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment