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.86.2.tar.gz 0017357004 16.6 MB
Fix-restart-opening-electron-default-app.patch 0000000669 669 Bytes
Remove-build-time-dependencies.patch 0000001240 1.21 KB
Use-system-spdlog.patch 0000001746 1.71 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 0000032024 31.3 KB
code.sh.patch 0000001028 1 KB
code.spec 0000018177 17.8 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
esbuild_version.patch 0000000755 755 Bytes
extensions-disable-mangler.patch 0000000458 458 Bytes
extensions-esbuild_version.patch 0000000775 775 Bytes
extensions-promise-rejected.patch 0000000998 998 Bytes
fix-exe-path.patch 0000001010 1010 Bytes
install-font-systemwide.patch 0000001713 1.67 KB
merge-user-product.patch 0000002313 2.26 KB
nan_callbacks_12_inl-node21.patch 0000040691 39.7 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 0000001469 1.43 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 0095311856 90.9 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
Revision 30 (latest revision is 39)
Bruno Pitrus's avatar Bruno Pitrus (dziobian) accepted request 1152007 from Bruno Pitrus's avatar Bruno Pitrus (dziobian) (revision 30)
- nan_callbacks_12_inl-node21.patch: apply to two other bundled copies to fix ftbfs with electron 28
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