summarylogtreecommitdiffstats
path: root/code-marketplace.hook
AgeCommit message (Collapse)Author
2023-08-13Update to 1.81.1Sainnhe Park
2021-04-06depend on code-featuresSainnhe Park
2021-04-05[Break Change] Unblock some extensions that are specific to the official buildSainnhe Park
What this package did before this update is simply patching the `"extensionsGallery"` section in `/usr/lib/code/product.json` to let code oss use vscode marketplace. This can be implemented via patching from a single diff file. But I want to add an extra feature -- unblock some extensions that are specific to the official build. You may have noticed that some extensions like pylance and remote-ssh doesn't work in code oss, this can be fixed via patching the `"nameLong"` and `"extensionAllowedProposedApi"` section in `/usr/lib/code/product.json` (thanks to [@Lightsword](https://www.reddit.com/r/linux/comments/k0s8qw/vs_code_developers_prevent_running_the_new/gdmdqkb/)). But patching these two section can't be done via the `patch` command, because the generated diff file contains many parts that are frequently changed. That's said, a diff file will no longer work after a new version of vscode is released, so I have to use `sed` to manually patch it, but this will produce an error during this update as you may have already noticed. To fix it, execute the following commands: 1. Remove the product.json.orig file: `sudo rm /usr/lib/code/product.json.orig`. 2. Reinstall the `code` package: `sudo pacman -S code`.
2020-12-05path detectionSainnhepark
2020-12-05revertSainnhepark
2020-12-04use a shell script to run the hookSainnhepark
2020-12-04support vscodium-binSainnhepark
2020-10-29update url and dependsSainnhepark
2020-10-28initSainnhepark