question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow to set custom installation paths for supported diff tools

See original GitHub issue

Is the feature request related to a problem

I have a custom installation folder for both VS Code and Visual studio. The search paths for these diff tools don’t match with the ones hard-coded inside DiffEngine.

Describe the solution

One should be able to set a custom path for diff tools, for example with the help of environment variables. For example: DiffEngine_<DiffToolName>_Path = D:\My\Folder\

Describe alternatives considered

As alternative, consider reading a configuration file in the home directory of the user or in the project folder.

Additional context

If necessary ask me.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
SimonCroppcommented, Dec 26, 2022

configure exact specific paths to executables of their diff programs

if u want to do a pull request for that, i am happy to consider it

0reactions
ldeluigicommented, Dec 25, 2022

I want to stress the fact that forcing a parsing of the system PATH it’s not a very good practice in general. One should be able to configure exact specific paths to executables of their diff programs. This avoids mistakes and confusion on which executable the engine is running in case of multiple installation of the same program and some other edge cases…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring diff tool with .gitconfig
The first two lines will set the difftool and mergetool to tkdiff - change that according to your preferences. The third line disables...
Read more >
External Diff Tools - IntelliJ IDEA
In the dialog the opens, configure the following options: Tool group: select whether you want to use a diff or merge tool. Program...
Read more >
Diff & Merge Tools | Tower Help
Tower allows you to view diffs as well as solve merge conflicts right from ... Here, you can choose one of the supported...
Read more >
Git - git-difftool Documentation
git difftool is a Git command that allows you to compare and edit files between revisions using common diff tools. git difftool is...
Read more >
Customize External Source Control to Use MATLAB for Diff ...
This command sets the MATLAB preference, under Comparison, called Allow external source control tools to use open MATLAB sessions for diffs and merges....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found