JohnstonCode / svn-scm

SVN support for VS Code
MIT License
205 stars 82 forks source link

Extension loads then disappears from sidebar #1622

Open adamwoodnz opened 5 months ago

adamwoodnz commented 5 months ago

Issue

The extension file operations are unusable because the UI isn't accessible from the sidebar. The SVN Checkout command is still available in the command palette.

Steps to Reproduce

  1. Enable extension
  2. See SVN icon briefly appear in sidebar then disappear
  3. Output window shows as below

SVN Output

Using svn "1.14.1" from "svn"

Screenshots

Screenshot 2024-03-06 at 10 28 18 AM

Jiacheng1 commented 5 months ago

I have the same problem. I did some tests and found a possible solution. There's a soft link directory in my workspace, and i added it into code-workspace setting. Like as below:

{
    "folders": [
        {
            "path": "my/workspace/SOFT/LINK"
        },
        {
            "path": "my/workspace/xxxx"
        }
    ],
}

When i removed the path of soft link, the extension will not disappear.

adamwoodnz commented 5 months ago

The folders in my workspace are all remote ssh directories

"folders": [
        {
            "uri": "vscode-remote://ssh-remote+foo.org/bar"
        },
    ],

Can you provide any info to help me debug what's happening please @JohnstonCode? Or is this not a supported setup?

JohnstonCode commented 5 months ago

I've never used it with remote ssh directories so wouldn't be able to advise it if should work or not.

JohnstonCode commented 5 months ago

I have the same problem. I did some tests and found a possible solution. There's a soft link directory in my workspace, and i added it into code-workspace setting. Like as below:

{
  "folders": [
      {
          "path": "my/workspace/SOFT/LINK"
      },
      {
          "path": "my/workspace/xxxx"
      }
  ],
}

When i removed the path of soft link, the extension will not disappear.

That is strange i don't remember there being an specific checks against soft links.

JohnstonCode commented 4 months ago

Unable to replicate with symlinks on 1.87.1

{
    "folders": [
        {
            "path": "../spamassassin-trunk-symlink"
        },
        {
            "path": "../project1"
        }
    ],
    "settings": {}
}

image