The vscode-webdav
Visual Studio Code extension allows adding WebDAV endpoints as remote workspaces.
Install the extension in VS Code.
There are three ways to open a WebDAV Workspace
-
When no folder is open in VS Code, activate the explorer and click on the "Open WebDAV"
-
Run the "Open WebDAV Workspace..." command and follow the prompts to enter an address, name and choose authentication.
-
Open a
.code-workspace
file which contains a uri with awebdav
orwebdavs
scheme (corresponding tohttp
andhttps
WebDAV endpoints respectively).
{
"folders": [{
"name": "live.sysinternals.com",
"uri": "webdavs://live.sysinternals.com"
}]
}
The authentication schemes supported by the extension are:
None
- no authentication.Basic
- for Basic authentication consider using TLS too. The password for the account is stored securely in the VS Code SecretStorage.Digest
- The password for the account is stored securely in the VS Code SecretStorage. This means that the OS-specific credential storage will be used.Windows (SSPI)
- This authentication uses the Windows Security Support Provider Interface. In practice this means that the authentication is Kerberos (via SPNEGO). This should work the same way as in browsers like Edge or Chrome. It is only available on Windows.
If Basic
or Digest
authentication is used, you may need to update the password or the account.
If at any time authentication fails with a "Forbidden" error a notification pops up suggesting the authentication settings should be reset.
Additionally you can reset the authentication at any time by using the Reset WebDAV Authentication ...
command.
The Windows (SSPI)
authentication scheme is only supported on Windows.
Contributions are welcome.