JeremyFunk / hidefiles

A GitHub extension that allows to create custom profiles for file hiding
MIT License
7 stars 0 forks source link

Hide file does not seem to work with SSH workspaces #14

Open JacquesSyn opened 1 year ago

JacquesSyn commented 1 year ago

Using last available release (Hide Files v2.1.2)

When I am in a SSH workspace,

I use "Hide file" from the context window

It does add it to the "hiddden" files/folder list

But then I see a notification in the bottom right that says "command 'hide-files.show' not found" and the file/folder is not hidden, even if those file/folders are not opened

Here is my truncated config with the important parts :

{
  "folders": [
    {
      "name": ".vscode",
      "path": "."
    },
    {
      "name": "QX_SaasBackUser",
      "path": "../QX_SaasBackUser"
    }
  ],
  "settings": {
    "hidefiles.configurationType": "local",
    "hidefiles.globalConfig": {
      "profiles": [
        {
          "name": "Default",
          "detail": "",
          "description": "Test",
          "hidden": [
            "home/jdurand/dev/prometheus-sleeker/",
            "home/jdurand/dev/QX_SaasBackUser/readiness_probe.txt",
            "home/jdurand/dev/QX_SaasBackUser/.python-version",
            "home/jdurand/dev/QX_SaasBackUser/liveness_probe.txt",
            "home/jdurand/dev/QX_SaasBackUser/readiness_probe.txt"
          ]
        },
        {
          "name": "Strict",
          "detail": "Hide everything not immediately required",
          "hidden": [
            "$Default"
          ]
        }
      ]
    },
    "files.exclude": {
      "**/.git": true,
      "**/.svn": true,
      "**/.hg": true,
      "**/CVS": true,
      "**/.DS_Store": true,
      "home/jdurand/dev/prometheus-sleeker/": true,
      "home/jdurand/dev/QX_SaasBackUser/readiness_probe.txt": true,
      "home/jdurand/dev/QX_SaasBackUser/.python-version": true,
      "home/jdurand/dev/QX_SaasBackUser/liveness_probe.txt": true
    },
    "hidefiles.selectedProfile": "Default"
  }
}