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

Source Files
Filename Size Changed
1.109.5.tar.gz 0025076356 23.9 MB
Fix-restart-opening-electron-default-app.patch 0000000700 700 Bytes
McpStdioStateHandler-sigterm-failing.patch 0000000514 514 Bytes
Remove-build-time-dependencies.patch 0000000768 768 Bytes
Use-system-spdlog.patch 0000001848 1.8 KB
_constraints 0000000384 384 Bytes
_multibuild 0000000066 66 Bytes
allow-proposed-extension-apis.patch 0000001118 1.09 KB
code-oss.mjs 0000000949 949 Bytes
code.changes 0000054625 53.3 KB
code.sh.patch 0000001028 1 KB
code.spec 0000020583 20.1 KB
disable-signature-verification.patch 0000001068 1.04 KB
do-not-download-electron.patch 0000001455 1.42 KB
esbuild_version.patch 0000002040 1.99 KB
extensions-disable-mangler.patch 0000000458 458 Bytes
fix-exe-path.patch 0000001119 1.09 KB
history.test-fish-skip.patch 0000001435 1.4 KB
id.test-skip.patch 0000000498 498 Bytes
install-font-systemwide.patch 0000001658 1.62 KB
merge-user-product.patch 0000002568 2.51 KB
no-asar.patch 0000002650 2.59 KB
no-comments-or-sourcemaps.patch 0000001068 1.04 KB
prepare-vendor.sh 0000002156 2.11 KB
product.json-reproducible-date.patch 0000000581 581 Bytes
product_json.patch 0000002257 2.2 KB
remove-git.patch 0000000320 320 Bytes
remove-mangle.patch 0000001427 1.39 KB
remove-marketplace-extensions.patch 0000001921 1.88 KB
remove-vsce-sign.patch 0000001856 1.81 KB
ripgrep.patch 0000002208 2.16 KB
spdlog-no-version-check.patch 0000000300 300 Bytes
sqlite-remove-gcc-symbol-versions.patch 0000000684 684 Bytes
system-esbuild.patch 0000002446 2.39 KB
terminalProfiles.test-skip.patch 0000002196 2.14 KB
test-electron-path.patch 0000000419 419 Bytes
test-extensions-skip.patch 0000000646 646 Bytes
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
tree-sitter-cxx20.patch 0000000386 386 Bytes
vendor.tar.zst 0155329036 148 MB
vscode-l10n-dev-use-tree-sitter.patch 0000003468 3.39 KB
webpack-no-source-maps.patch 0000001834 1.79 KB
Comments 10

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.


Bruno Pitrus's avatar

Versions starting from 1.110 need tsgo for building, which is not yet packaged.


Blaauw's avatar

Hi, is it possible to add builds for Slowroll?


Bruno Pitrus's avatar

Tumbleweed builds don't work? The nodejs modules now fail to build so i cannot just add a new target, and i had to stop maintaining this due to changing life circumstances.


Bruno Pitrus's avatar

if you can fix this https://build.opensuse.org/package/live_build_log/devel:tools:ide:vscode/nodejs-vscode-oniguruma/openSUSE_Tumbleweed/x86_64 you're welcome but for newer vscode versions someone would also need to package tsgo. I don't know if current versions even work on electron 37, but we run the test suite which is helpful.

openSUSE Build Service is sponsored by