Coder Social home page Coder Social logo

Comments (6)

theglobe avatar theglobe commented on June 30, 2024 1

I am experiencing this in VS 2015. Disabling and re-enabling does not fix this, neither does Uninstalling and re-installing.

I had documents open when I tried the above, so it seems not to be related to #456.

How can I troubleshoot this?

from gitdiffmargin.

horeaper avatar horeaper commented on June 30, 2024

Found the same problem in 3.12.1 with VS 16.11, fixed with the same way.

from gitdiffmargin.

horeaper avatar horeaper commented on June 30, 2024

VS 16.11.5, the problem are still there, however disable/re-enable only works sometimes now. Also the command "GitDiffMargin.NextChange" and "GitDiffMargin.PreviousChange" is not working.
My git version is 2.32.0.windows.2

from gitdiffmargin.

PixBob avatar PixBob commented on June 30, 2024

I experience the same as well on VS2015, C++ /.Net Projekts
Someday the plugin stopped working, so far I do not get it running again.
Neither restarting VS, nor uninstall and reinstalling the plugin (restarting VS each time), brought the plugin back to show something.
Changes to the repository are not shown at all.

Is there anybody out there knowing how to fix it, I really love this plugin, it helps me a lot navigating through the the files...

from gitdiffmargin.

irontoby avatar irontoby commented on June 30, 2024

Same thing has just happened to me with VS 2022 Professional. It was working fine for me but then I had a separate issue which caused me to run a "repair" on the VS installation. Afterwards, this extension is no longer working in one of my repos. I've tried disabling/re-enabling, uninstalling/reinstalling etc.

At first I also ran into this issue. I re-cloned my entire git repo which fixed the problem of VS not recognizing the repo but this extension is still not working with that repo.

I tried creating a new solution for a console app in VS and then created an empty local git repo for it, also through VS. This extension didn't work for that solution at first, but after restarting it's working for that solution. It's still not working for the original solution.

So the problem has something to do with the git repo itself. The only other odd thing about this repo I can think of is that I have multiple worktrees configured.

I'm still doing more investigation, but if there's any place where I can see any logging / output for this extension that would probably help!

from gitdiffmargin.

irontoby avatar irontoby commented on June 30, 2024

Update: I re-cloned my repo using Visual Studio instead of the command-line, and the extension worked with that copy. I then updated my Git for Windows to the latest version, re-cloned with CLI and that one worked too.

So it appears to be an issue with a repo that was cloned using an older version of Git. Still not sure what the issue is, but for anyone who has this issue I'd recommend updating your CLI to the latest version and re-cloning your repo to a new location using either the latest CLI or the VS GUI.

from gitdiffmargin.

Related Issues (20)

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.