WebDAV Workspaces for Visual Studio Code
The vscode-webdav
Visual Studio Code extension allows adding WebDAV endpoints as remote workspaces.
How to use
Install the extension in VS Code.
Adding a new WebDAV Workspace
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 a webdav
or webdavs
scheme (corresponding to http
and https
WebDAV endpoints respectively).
{
"folders": [{
"name": "live.sysinternals.com",
"uri": "webdavs://live.sysinternals.com"
}]
}
Authentication Support
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.
Changing Passwords or Authentication
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.
Operating System Support
The Windows (SSPI)
authentication scheme is only supported on Windows.
Contributions
Contributions are welcome.