Package Details: visual-studio-code-bin 1.95.0-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: 1459
Popularity: 13.33
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-10-29 18:56 (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 .. 78 Next › Last »

Firestar commented on 2024-09-06 08:11 (UTC) (edited on 2024-09-06 08:14 (UTC) by Firestar)

#214741 this issue still exists. #15741 this issue still exists on KDE dolphin.

Which means, I cannot open text-file nor directories on KDE plasma. This issue happens for about a week.

carterli commented on 2024-09-05 12:00 (UTC)

I have problem to update visual-studio-code-bin after 1.92.2-3 because I have network issues connecting github.

Failure while downloading https://raw.githubusercontent.com/microsoft/vscode/1.92.2/resources/linux/code.desktop Aborting...

Can I skip this file when installing? Any suggestions?

dcelasun commented on 2024-09-02 08:47 (UTC)

@armadillo sorry about that, fixed.

armadillo commented on 2024-09-02 08:36 (UTC) (edited on 2024-09-02 08:37 (UTC) by armadillo)

New version 1.92.2-3 gives build errors on my system:

==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '/home/username/source/repos/visual-studio-code-bin/src/visual-studio-code-workspace.xml': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

Celsiuss commented on 2024-09-02 08:34 (UTC) (edited on 2024-09-02 08:37 (UTC) by Celsiuss)

code-workspace.xml is not being referenced correctly

==> Starting package()...
install: cannot stat '(path)/visual-studio-code-bin/src/visual-studio-code-workspace.xml': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

dcelasun commented on 2024-09-02 08:23 (UTC)

Implemented the desktop and workspace file changes by @marmis. Please report any issues.

ZorinArch commented on 2024-08-28 17:06 (UTC)

@marmis, Thank you.

marmis commented on 2024-08-25 18:52 (UTC)

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.

Oh, okay. Feel free to apply the parts that makes sense to you. That patch also changes _pkg from a variable to a function, which is only useful for applying patches in prepare script. You could also leave that change behind.

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.