Package Details: visual-studio-code-bin 1.95.3-1

Git Clone URL: https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy)
Package Base: visual-studio-code-bin
Description: Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version)
Upstream URL: https://code.visualstudio.com/
Licenses: custom: commercial
Conflicts: code
Provides: code, vscode
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 1465
Popularity: 15.17
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-11-15 11:08 (UTC)

Required by (20)

Sources (7)

Pinned Comments

dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2020-02-06 21:33 (UTC) by dcelasun)

FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)

  • What is the difference between this package and the one in the community repo?

This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the license difference and branding, there are some proprietary features not available in the open source version.

  • There is a new version out, why is the package not updated?

Please check this page before flagging as out-of-date. If there is no new version on that page, it's not yet released. A tag on Github is NOT a release! If you can see the new version on the updates page but the AUR package is still not updated, flag it and give it time. It's usually done within a day or two.

  • I'm using an AUR helper (yay, yaourt etc.) and I can't install it. Why?

Sometimes AUR helpers do weird things. Download the tarball and install it manually with makepkg -si. If that works, report the problem to your AUR helper's upstream, not here.

  • When I install this package xdg-open uses vscode, not my file manager! How do I fix this?

Install shared-mime-info-gnome. Also see this reddit thread.

  • Why is $X a dependency? I don't like it.

Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.

  • Something is broken with the app, where do I report it?

The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on Github.

  • I have a problem with this package, can I email you?

No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 78 Next › Last »

dcelasun commented on 2024-08-25 11:15 (UTC)

one last change I also propose: setting options=(!strip !debug). This should speed build time

That should go to your /etc/makepkg.conf. It's only a last resort for a PKGBUILD to do it if e.g. stripping a binary breaks the build.

dcelasun commented on 2024-08-25 06:34 (UTC)

@marmis your patch looks good! I'll integrate it into the next version.

marmis commented on 2024-08-25 04:55 (UTC) (edited on 2024-08-25 06:02 (UTC) by marmis)

Hi @ZorinArch I also made a pacman hook that patches VSCode files for some of these XDG issues (especifically #15741, #129953 and #214741), as upstream doesn't look very interested in fixing them. Package: vscode-xdg-patch-hook

marmis commented on 2024-08-25 04:49 (UTC) (edited on 2024-08-25 07:03 (UTC) by marmis)

@dcelasun If you're interested, I've made a patch to fetch desktop and MIME files from Github, then modify the @@VARIABLES@@ in a new prepare script. You can see it in this commit. Other changes proposed there are:

  • use a more descriptive name for the license: either custom: Microsoft Software License Terms or the SPDX version LicenseRef-MicrosoftSoftwareLicenseTerms

  • use POSIX-only for the launcher script

Edit: one last change I also propose: setting options=(!strip !debug). This should speed build time (from 8.40 s to 4.89 s, for me), with very minimal increase in package size (125 MiB to 131 MiB, minimal compression).

dcelasun commented on 2024-08-24 05:00 (UTC)

@ZorinArch I've changed that line to match upstream as per the previous comment. Please report it upstream.

ZorinArch commented on 2024-08-24 02:27 (UTC)

Hi, @dcelasun, please update MimeType in code.desktop and add line below, because now the app not showing in open with context menu.

MimeType=text/plain;inode/directory;application/x-code-workspace;

dcelasun commented on 2024-08-23 17:28 (UTC)

It's not intentional, just out of sync. I'll push an update soon.

marmis commented on 2024-08-23 05:04 (UTC) (edited on 2024-08-23 05:11 (UTC) by marmis)

Hi, @dcelasun, the XDG files look a little bit outdated. Not sure if it is intentional, but code.desktop, code-url-handler.desktop and code-workspace.xml all don't match their upstream versions.

Also, the current version is affected by issue #129953. It would be nice to have a patch applied downstream while that is not fixed. If you're interested, I've implemented both changes in this repository.

zethson commented on 2024-08-13 08:25 (UTC)

segfaults immediately without out any output even when run in verbose mode. A reinstall did not fix it for me.

wscp commented on 2024-08-04 07:03 (UTC) (edited on 2024-08-04 07:04 (UTC) by wscp)

The current latest version (visual-studio-code-bin-1.92.0-1) seems to segfault immediately, too early to even log any crash data.

EDIT: A reinstall fixed it.