Mastodon Mastodon - Use VSCodium with Microsoft's proprietary marketplace
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Use VSCodium with Microsoft's proprietary marketplace

Use VSCodium with Microsoft's proprietary marketplace

Posted on February 26, 2023  (Last modified on July 2, 2024) • 1 min read • 198 words
Solved   Tools: Vscode   Fuckers  
Solved   Tools: Vscode   Fuckers  
Share via

Yeah, MicroSoft again. The Company That Embraced Open Source (as long as it’s useful to them).

The original VS Code builds have telemetry. Also, a closed source marketplace. Because of that, VSCodium was created. And VSCodium is good.

Unfortunately, MicroSoft is still anything but a “good” company, and it does open source purely out of egoistic motives. So it developed a (really good) open source editor (VS Code), but with closed source extensions (Pylance), which are only available on their marketplace, and don’t run on alternative builds of VS Code. Because, hey, more lock-in, more good, ya know?

So if you want to run Pylance (a good language server) with VS Codium, you have to switch VS Codium back to the original market place, and modify the editor’s “name” identification.

Here’s how to do that:

  • on a Mac, create the file product.json in the folder $HOME/Library/Application Support/VSCodium
  • enter the following content:
    {
      "nameShort": "Visual Studio Code",
      "nameLong": "Visual Studio Code",
      "extensionsGallery": {
        "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
        "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
        "itemUrl": "https://marketplace.visualstudio.com/items"
      }
    }

Then you cann install Pylance from the official marketplace, and it should run.

Sources:

  • VSCodium docs
  • Some reddit thread
  • Some github issue entry
  • Some VSCodium github issue comment
 Terraform for_each and output values
K8S Cluster autoscaler crashlooping on EKS 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard