![]() ![]() In some cases, distributions either do not support this location or require tweaks to get it to work with their vanilla installs. No action is required on your part if this succeeds. To accomplish this, Live Share automatically places a desktop file in ~/.local/share/applications and the required launcher itself in ~/.local/share/vsliveshare when the extension first initializes. Visual Studio Live Share typically does not require additional installation steps to enable browser integration on Linux. If the extensionAllowedProposedApi property is missing or you do not see "ms-vsliveshare.vsliveshare" referenced, you are using an OSS version with this problem.Īs a workaround, you can add the following into the product.json: "extensionAllowedProposedApi": [ /usr/share/vscode/resources/app/product.json. ![]() ![]() The file's location does vary by package, but it is usually in one of the following locations: To verify this is your issue, check the contents of product.json. Packages of Visual Studio Code that are either vanilla or modified versions of VS Code OSS can be missing a critical value in product.json file that prevents Visual Studio Live Share from activating.Ī quick way to see you might be hitting this problem is to go to Help > "Toggle Developer Tools" and see if you find a stack trace indicating the Live Share extension did not activate because it was using a "proposed API." VS Code OSS IssuesĪrch Linux/Manjaro Users: Use the visual-studio-bin AUR package to avoid this problem. Note that Live Share only supports 64-bit Linux. This document provides some information on requirements and some troubleshooting details that might help you get up and running even if your configuration is only community supported. However, in the event that you are using a non-standard configuration or downstream distribution, you may or may not run into some hiccups. If you stick to supported versions of Ubuntu Desktop (16.04+), CentOS 7, or Fedora Workstation (27+) and only use official distributions of VS Code, you should find the process straight forward. Linux is a highly variable environment and with the sheer number of desktop environments and distributions can be complicated to get working. ![]()
0 Comments
Leave a Reply. |