Visual Studio Code

VisualStudio Code #

I really like Visual Studio code (VSCode) because of its versatile plugins for nearly everything. VSCode is open-source. The version published by Microsoft is not open-source and include tracking telemetry. That’s why I prefere to use VSCodium.

Installation #

  • Add GPG key of @paulcarotty
# wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
    | gpg --dearmor \
    | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
  • Add the repository
# echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main' \
    | sudo tee /etc/apt/sources.list.d/vscodium.list
  • Install vscodium
# sudo apt update
# sudo apt install codium

Now, you can start vscodium by executing codium.

Marketplace #

Everything comes at a price. In case of VSCodium, it is that deployed product.json does not include the appropriate configuration to use the VS Code Marketplace but open-vsx.org. To change the marketplace to the one used by Visual Studio Code published by Microsoft, you need to edit or create your ~/.config/VSCodium/product.json and add the following

{
  "extensionsGallery": {
    "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
    "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
    "itemUrl": "https://marketplace.visualstudio.com/items",
    "controlUrl": "",
    "recommendationsUrl": ""
  }
}

Further limitations #

According to official documentation, there exist more limitations. Until now, these did not pose an issue for me. But it is better to be aware of it then debugging later for some hours or even days.