Visual Studio Code — Open Source (“Code — OSS”)

Edit Package code
https://github.com/microsoft/vscode

Code is a cross-platform text editor/IDE developed by Microsoft, using the Electron runtime.
This is an open-source release of Code built from the official code-oss repository.
It includes additional patches from VSCodium for increased extensibility — remove-mangle.patch and merge-user-product.patch

Refresh
Refresh
Source Files
Filename Size Changed
1.88.1.tar.gz 0017644872 16.8 MB
Fix-restart-opening-electron-default-app.patch 0000000672 672 Bytes
Remove-build-time-dependencies.patch 0000001240 1.21 KB
Use-system-spdlog.patch 0000001774 1.73 KB
_constraints 0000000384 384 Bytes
_multibuild 0000000066 66 Bytes
allow-proposed-extension-apis.patch 0000001118 1.09 KB
asar-deterministic.patch 0000000931 931 Bytes
code-oss.js 0000000907 907 Bytes
code.changes 0000034313 33.5 KB
code.sh.patch 0000001028 1 KB
code.spec 0000018079 17.7 KB
do-not-check-for-yarn.patch 0000000381 381 Bytes
do-not-download-electron.patch 0000001004 1004 Bytes
do-not-gulp-all-memory.patch 0000001722 1.68 KB
electron29-nan-SetAccessor.patch 0000001683 1.64 KB
esbuild_version.patch 0000000753 753 Bytes
extensions-disable-mangler.patch 0000000458 458 Bytes
extensions-esbuild_version.patch 0000000773 773 Bytes
extensions-promise-rejected.patch 0000000998 998 Bytes
fix-exe-path.patch 0000001013 1013 Bytes
install-font-systemwide.patch 0000001642 1.6 KB
merge-user-product.patch 0000002313 2.26 KB
nan_callbacks_12_inl-node21.patch 0000027245 26.6 KB
no-asar.patch 0000000689 689 Bytes
no-comments-or-sourcemaps.patch 0000001404 1.37 KB
prepare-vendor.sh 0000001945 1.9 KB
product.json-reproducible-date.patch 0000000618 618 Bytes
product_json.patch 0000002029 1.98 KB
remove-deprecated-AccessorSignatures.patch 0000002403 2.35 KB
remove-git.patch 0000000313 313 Bytes
remove-mangle.patch 0000002899 2.83 KB
remove-marketplace-extensions.patch 0000000750 750 Bytes
ripgrep.patch 0000002169 2.12 KB
sqlite-remove-gcc-symbol-versions.patch 0000000684 684 Bytes
system-esbuild.patch 0000001960 1.91 KB
vendor.tar.zst 0094540636 90.2 MB
vscode-l10n-dev-use-tree-sitter.patch 0000003308 3.23 KB
webpack-no-source-maps.patch 0000001832 1.79 KB
webpack-openssl-3-0.patch 0000000853 853 Bytes
Latest Revision
Bruno Pitrus's avatar Bruno Pitrus (dziobian) accepted request 1168642 from Bruno Pitrus's avatar Bruno Pitrus (dziobian) (revision 37)
- Add backported electron29-nan-SetAccessor.patch to fix ftbfs with Electron 29
Comments 6

Bruno Pitrus's avatar

These packages are built with a patch (custom-gallery.patch) from VSCodium that allows to select the extension marketplace to be used.

Instrucions can be found here however note that the path is ~/.config/Code/product.json with our distribution.


Rarmi's avatar

Hello Is this still the case nowadays or have you patched in Microsoft's extension marketplace?


Bruno Pitrus's avatar

yes — if you want to switch to Microsoft's you have to do it yourself


ada's avatar

Just a suggestion, it may be beneficial for wayland users to add a way to configure electron flags into code.sh - currently patching this is the only way to avoid using XWayland and the various issues that come with it.

Arch Linux has done this in their code package: https://gitlab.archlinux.org/archlinux/packaging/packages/code/-/blob/main/code.sh?ref_type=heads


Bruno Pitrus's avatar

This package should read flags from ~/.config/electron-flags.conf — just like all other electron apps in openSUSE.

It's also compatible with you putting an electron before /usr/bin/electron in PATH — I use such a wrapper to run electron on a discrete Nvidia® card.


ada's avatar

Thank you for pointing that out! I didn't know about electron-flags.

openSUSE Build Service is sponsored by