Skip to content

GitDoc inactive on codespace start, regardless of being enabled in settings #90

@mdeyanov83

Description

@mdeyanov83

Hi, I am using a CS50 codespace, which uses GitDoc for automatic commits. A couple months ago the auto commits stopped working. When I first connect to the codespace, GitDoc is inactive, reagardless of it being enabled in the settings.
When I change the setting in .vscode/settings.json file to false and then back to true then GitDoc behaves as expected and auto commits work every 30 seconds, as by default. Once I close VSCode or disconnect from the codespace, once I connect back up, GitDoc is inactive again and need to reset the setting in .vscode/setting.json. I've tried rubilding the container, creating a new codespace, nothing seems to solves it.

.devcontainer.json
{
  "customizations": {
    "vscode": {
      "extensions": [
        "vsls-contrib.gitdoc"
      ],
      "settings": {
        "gitdoc.autoPull": "off",
        "gitdoc.commitMessageFormat": "ccc, LLL d, kkkk, h:mm a ZZ",
        "gitdoc.commitValidationLevel": "none",
        "gitdoc.enabled": true,
        "gitdoc.pullOnOpen": false,
      }
    }
  }
}
.vscode/settings.json

{
    "gitdoc.enabled": true,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions