auto-commit-msg icon indicating copy to clipboard operation
auto-commit-msg copied to clipboard

Unable to load Git Extension

Open koderzi opened this issue 2 years ago • 3 comments

The extension cannot be loaded when running command >Auto Commit Message

Version: 0.26.1

koderzi avatar May 14 '23 01:05 koderzi

Can you run it in the Git extension panel still?

Can you show me a screenshot of steps and error if any?

MichaelCurrin avatar May 14 '23 19:05 MichaelCurrin

Sorry for the late reply.

I cannot give you the screenshot earlier since the message it outputs does not have any info to solve this problem.

However, just now, I think I have found out the problem. There are 2 situations actually.

  1. When using a dev container.
  • commit work perfectly when you installed the plugin manually after starting the dev container.
  • problem occurred when I am not installing the plugin manually but instead use the setting "remote.extensionKind" in setting.json since I would like to use it on every dev container.

"remote.extensionKind": { "michaelcurrin.auto-commit-msg": [ "ui" ] }

  1. When using a remote repository.
  • it return an error message: Command 'Auto Commit Message' resulted in an error No repos found. Please open a repo or run git init then try again

koderzi avatar Jun 09 '23 23:06 koderzi

My first for the dev containers issue is that the extension is loaded on the host and does not have access to the repos or files in the dev container. I haven't setup dev containers before so I'd have to try that out first and then setting.

For the remote repository, what is that case? Running VS Code in the browser? Can you provide more details?

MichaelCurrin avatar Oct 28 '23 12:10 MichaelCurrin