diff options
author | Conrad Haupt | 2021-03-16 14:17:16 +0200 |
---|---|---|
committer | D. Can Celasun | 2021-03-16 13:02:14 +0000 |
commit | afe6b74c97f40c02d465f6f9f86d50dfde1b2cd6 (patch) | |
tree | 383a7566164eb291cfc9ee0931a50cbd14982da1 /visual-studio-code-workspace.xml | |
parent | 87c8c9f21ea41561e1a7f3afe23be35d1c425ff3 (diff) | |
download | aur-afe6b74c97f40c02d465f6f9f86d50dfde1b2cd6.tar.gz |
Add support for *.code-workspace mimetype
Support for opening *.code-workspace files in visual-studio-code
on Linux was added in https://github.com/microsoft/vscode/pull/95637.
However, it only supports deb and rpm files. This commit adds
appropriate files to register *.code-workspace as a separate mimetype
and opens them in visual-studio-code.
Diffstat (limited to 'visual-studio-code-workspace.xml')
-rw-r--r-- | visual-studio-code-workspace.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/visual-studio-code-workspace.xml b/visual-studio-code-workspace.xml new file mode 100644 index 000000000000..6a4a9585827e --- /dev/null +++ b/visual-studio-code-workspace.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-visual-studio-code-workspace"> + <comment>Visual Studio Code Workspace</comment> + <glob pattern="*.code-workspace"/> + </mime-type> +</mime-info> |