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.95.3.tar.gz 0020331269 19.4 MB
Fix-restart-opening-electron-default-app.patch 0000000700 700 Bytes
Remove-build-time-dependencies.patch 0000000769 769 Bytes
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
code-oss.mjs 0000000947 947 Bytes
code.changes 0000043682 42.7 KB
code.sh.patch 0000001028 1 KB
code.spec 0000020429 20 KB
do-not-download-electron.patch 0000001004 1004 Bytes
do-not-gulp-all-memory.patch 0000002023 1.98 KB
e31-nan-CopyablePersistentTraits.patch 0000001267 1.24 KB
esbuild_version.patch 0000000753 753 Bytes
extensions-disable-mangler.patch 0000000458 458 Bytes
extensions-esbuild_version.patch 0000000773 773 Bytes
fix-exe-path.patch 0000001014 1014 Bytes
id.test-skip.patch 0000000498 498 Bytes
install-font-systemwide.patch 0000001642 1.6 KB
merge-user-product.patch 0000002494 2.44 KB
no-asar.patch 0000002672 2.61 KB
no-comments-or-sourcemaps.patch 0000001068 1.04 KB
node-pty-unixTerminal.test-flaky.patch 0000001253 1.22 KB
prepare-vendor.sh 0000002007 1.96 KB
product.json-reproducible-date.patch 0000000672 672 Bytes
product_json.patch 0000002029 1.98 KB
remove-git.patch 0000000295 295 Bytes
remove-mangle.patch 0000002899 2.83 KB
remove-marketplace-extensions.patch 0000000750 750 Bytes
request.test-skip.patch 0000001495 1.46 KB
ripgrep.patch 0000001616 1.58 KB
spdlog-no-version-check.patch 0000000300 300 Bytes
sqlite-remove-gcc-symbol-versions.patch 0000000684 684 Bytes
system-esbuild.patch 0000001960 1.91 KB
terminalProfiles.test-skip.patch 0000002196 2.14 KB
test-electron-path.patch 0000000419 419 Bytes
test-extensions-skip.patch 0000001649 1.61 KB
test-integration-electron-node-path.patch 0000000701 701 Bytes
test-node-timeout.patch 0000000272 272 Bytes
textSearch.integrationTest-ripgrep-skip.patch 0000001741 1.7 KB
vendor.tar.zst 0096113549 91.7 MB
vscode-l10n-dev-use-tree-sitter.patch 0000003468 3.39 KB
webpack-no-source-maps.patch 0000001832 1.79 KB
webpack-openssl-3-0.patch 0000000853 853 Bytes
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