I have been using Code-OSS in manjaro linux for some months now and this is the first time I am encountering this. (After I reinstalled manjaro) When I search for e.g, Java Extension Pack or Intellisense I don't get any result in the extension marketplace. I don't know if it's the problem of my setup or everyone is experiencing this. If you know of a solution please tell me.
Thanks in advance
The solution was to go to Windows PowerShell and open Visual Studio Code, then go to the extensions and restart the Remote - WSL extension, and go back to WSL. It then started working immediately.
vsix) file if possible, then bring up 'quick open' in OSS Code using Ctrl+Shift+P, search for "VSIX" and choose "Extensions: install from VSIX" to locate and install the downloaded . vsix file. After this, the extension was installed and usable in OSS Code, and is also configurable in the extension manager panel.
Bring up the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of VS Code or the View: Extensions command (Ctrl+Shift+X). This will show you a list of the most popular VS Code extensions on the VS Code Marketplace.
While many extension authors have opted to release their source code under an open-source license, some extensions like Wallaby. js, Google Cloud Code, and the VS Code Remote Development extensions use proprietary licenses. At Microsoft, we open source our extensions whenever possible.
This can be fixed by adding following to product.json
:
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items"
}
This can also be fixed by copying product.json
from an official build (in the .zip archvie, product.json
is under /usr/share/code/resources/app/product.json
which contains above lines). Depending on your distribution, exact location may vary.
More information: https://github.com/Microsoft/vscode/issues/1557
As an alternative to manually editing product.json
or building whole visual-studio-code-bin
from AUR you can use different AUR package - code-marketplace
- that patches product.json
from Code OSS package (code
)
Thank you @Clay for responding. I saw that post prior to me posting this question. Those bits of json code were already in my product.json
file but still I was not able to get the extensions. Then I built the VISUAL STUDIO CODE (visual-studio-code-bin
) from AUR and now its working normally as expected. I don't know what's the reason behind this,but that's how I fixed it.
Also if someone is reading this and wanna know about the different variants of VSCode then here is the archWiki page for VSCode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With