Release out now to handle autofix
![image](https://private-user-images.githubusercontent.com/98753696/291330396-6dedb3e2-3e9e-42ef-b315-f382d6f48a96.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4OTY0OTEsIm5iZiI6MTcxOTg5NjE5MSwicGF0aCI6Ii85ODc1MzY5Ni8yOTEzMzAzOTYtNmRlZGIzZTItM2U5ZS00MmVmLWIzMTUtZjM4MmQ2ZjQ4YTk2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDA0NTYzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ5MmY3OGM5Njc1YzNhMzg0OTVlMzY2NDE4ODFjNmE2OGJkMTdkN2Q2NjBjZDk4Mjc3Y2UzNDY5OGQ3MzUyY2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bj9rSsW_ZrnGU1nTMq2SuU97kFsSBANsoyNydTcIsAA)
I just spent about half an hour reading through Github issues and source code of VSCode & VSCodium to figure out how to get Pylance working. In short:
%LOCALAPPDATA%\Programs\VSCodium\resources\app\product.json
- The workaround described here suggests editing a
product.json
file, butfind $HOME/.var/app/com.vscodium.codium -name 'product.json'
returns nothing - Found product.json should be editable #22 which links to customize the extensions gallery VSCodium/vscodium#674
- The linked PR contains a patch which looks for a user-provided
product.json
to merge into the compiled-in values - by default, noproduct.json
is included in shipped builds - Dropping the following file into
$HOME/.var/app/com.vscodium.codium/config/VSCodium/product.json
lets me run Pylance:
{
"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"
}
}
As this is a rather specific workaround to a specific problem, perhaps just including a note somewhere is enough to spare others from having to go through the same journey.